y-Web: fix glcd menues

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0392ac2f08
Author: GetAway <get-away@t-online.de>
Date: 2020-07-05 (Sun, 05 Jul 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
GetAway
2020-07-05 23:49:13 +02:00
committed by vanhofen
parent de326a7c6f
commit 62261ffc91
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);
}
//-------------------------------------------------------------------------