mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
y-Web: fix glcd menues
This commit is contained in:
@@ -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);
|
||||
}
|
||||
//-------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user