diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-11 17:39:26 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-11 17:39:26 +0300 |
commit | ce5c8cbc5632891613ccd653d81deb3742c932a7 (patch) | |
tree | 7d74e82dce6606fdda285705908b4de4949fe777 /options.cpp | |
parent | 6b1b91acffcc90db9f6d8e0c466d44e2a6819dc3 (diff) |
modified: main.cpp
modified: options.cpp
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 5 |
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]; |