/[winpt]/trunk/Src/wptPassphraseCB.cpp
ViewVC logotype

Diff of /trunk/Src/wptPassphraseCB.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 333 by twoaday, Tue Oct 13 10:51:21 2009 UTC revision 340 by twoaday, Sun Nov 27 13:15:07 2011 UTC
# Line 194  passphrase_callback_proc (HWND dlg, UINT Line 194  passphrase_callback_proc (HWND dlg, UINT
194                  else {                  else {
195                      char *p = new char[n+2];                      char *p = new char[n+2];
196                      SafeGetDlgItemText (dlg, item_ctrl_id (c->gpg_cmd), p, n+1);                      SafeGetDlgItemText (dlg, item_ctrl_id (c->gpg_cmd), p, n+1);
197                      if (emulate_utf8_bug)                      c->pwd = m_strdup (p);
                         c->pwd = native_to_utf8 (p);  
                     else  
                         c->pwd = m_strdup (p);  
198                      sfree_if_alloc (p);                      sfree_if_alloc (p);
199                  }                  }
200                  if (c->gpg != NULL) {                  if (c->gpg != NULL) {

Legend:
Removed from v.333  
changed lines
  Added in v.340

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26