mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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