From bebafc42ab6199e86d4c2c901fac8d091bfffef0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 6 Mar 2018 20:24:07 +0300 Subject: some fixes --- plugins/WebView/src/webview_cleanup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/WebView/src') diff --git a/plugins/WebView/src/webview_cleanup.cpp b/plugins/WebView/src/webview_cleanup.cpp index 9ca77f42c2..9325881d38 100644 --- a/plugins/WebView/src/webview_cleanup.cpp +++ b/plugins/WebView/src/webview_cleanup.cpp @@ -375,8 +375,7 @@ void CodetoSymbol(char *truncated) Sleep(1); // avoid 100% CPU if ( strstr(truncated, CharacterCodes[n]) != nullptr) { // does character code exist? - if (strstr(truncated, CharacterCodes[n]) != nullptr) - stringfrompos = strstr(truncated, CharacterCodes[n]); + stringfrompos = strstr(truncated, CharacterCodes[n]); position = stringfrompos - truncated; counter = 0; -- cgit v1.2.3