y-Web: fix glcd menues

Origin commit data
------------------
Commit: 0392ac2f08
Author: GetAway <get-away@t-online.de>
Date: 2020-07-05 (Sun, 05 Jul 2020)
This commit is contained in:
GetAway
2020-07-05 23:49:13 +02:00
committed by vanhofen
parent b4a2f17a5a
commit 715126af4e
4 changed files with 22 additions and 6 deletions

View File

@@ -101,6 +101,10 @@ bool ySplitString(std::string str, std::string delimiter, std::string& left,
left = str; //default if not found
right = "";
}
replace(left, "\r\n", "");
replace(left, "\n", "");
replace(right, "\r\n", "");
replace(right, "\n", "");
return (pos != std::string::npos);
}
//-------------------------------------------------------------------------