reset parse error for socket

This commit is contained in:
vaxerski 2022-07-07 15:34:27 +02:00
parent b507e2f030
commit 00334f34fc

View file

@ -100,6 +100,8 @@ void CIPCSocket::mainThreadParseRequest() {
// parse
if (copy.find("wallpaper") == 0 || copy.find("preload") == 0) {
g_pConfigManager->parseError = ""; // reset parse error
g_pConfigManager->parseKeyword(copy.substr(0, copy.find_first_of(' ')), copy.substr(copy.find_first_of(' ') + 1));
if (g_pConfigManager->parseError != "") {