diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-06 20:24:07 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-07 12:54:58 +0300 |
commit | bebafc42ab6199e86d4c2c901fac8d091bfffef0 (patch) | |
tree | f3961879845e89688c6628dccf1a3c9cd3ebb9b3 /plugins/WebView/src | |
parent | 7e9fef8a6ff35c63f9217fcc618d77f660e45245 (diff) |
some fixes
Diffstat (limited to 'plugins/WebView/src')
-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;
|