summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/messages.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-17 19:49:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-17 19:49:19 +0300
commitba8c67dafed3f2f143ea37a657294f59d3cb4e00 (patch)
tree93f68ca778c1d6e6ca1fe01398fbfb48262a6d92 /plugins/New_GPG/src/messages.cpp
parent95d8d59b4e837afcb5eb8f0e7111139919d2e50c (diff)
n-nope, three utf-8 chars do not talke three bytes
Diffstat (limited to 'plugins/New_GPG/src/messages.cpp')
-rwxr-xr-xplugins/New_GPG/src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index 14ba256481..055ce67fa7 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -440,7 +440,7 @@ INT_PTR RecvMsgSvc(WPARAM w, LPARAM l)
s1 = output.find("\"", s2);
s1 += 1;
}
- else s1 += 3;
+ else s1 += sizeof(RUS_QUOTE) - 1;
if ((s2 = output.find("(", s1)) == string::npos)
s2 = output.find("<", s1);