diff options
Diffstat (limited to 'plugins/WebView/src/webview_cleanup.cpp')
-rw-r--r-- | plugins/WebView/src/webview_cleanup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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;
|