summaryrefslogtreecommitdiff
path: root/plugins/WebView/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2018-03-06 20:24:07 +0300
committerKirill Volinsky <mataes2007@gmail.com>2018-03-07 12:54:58 +0300
commitbebafc42ab6199e86d4c2c901fac8d091bfffef0 (patch)
treef3961879845e89688c6628dccf1a3c9cd3ebb9b3 /plugins/WebView/src
parent7e9fef8a6ff35c63f9217fcc618d77f660e45245 (diff)
some fixes
Diffstat (limited to 'plugins/WebView/src')
-rw-r--r--plugins/WebView/src/webview_cleanup.cpp3
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;