summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options.cpp')
-rw-r--r--options.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp
index 9c1dce4..03808ae 100644
--- a/options.cpp
+++ b/options.cpp
@@ -781,7 +781,10 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP
ListView_SetItemText(hwndList_p, item_num, 1, tmp);
mir_free(tmp);
s2+=2;
- s = output.find("“", s2)+1;
+ s = output.find("“", s2);
+ if(s == string::npos)
+ s = output.find("\"", s2);
+ s+=1;
if(s != s2-1)
{
tmp2 = new char [output.substr(s2,s-s2).length()+1];