/[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 186 by twoaday, Tue Mar 14 11:01:22 2006 UTC revision 187 by twoaday, Wed Mar 22 11:04:20 2006 UTC
# Line 121  passphrase_callback_proc (HWND dlg, UINT Line 121  passphrase_callback_proc (HWND dlg, UINT
121                      id = u->name;                      id = u->name;
122                      if (!id)                      if (!id)
123                          id = _("Invalid User ID");                          id = _("Invalid User ID");
124                      uid = utf8_to_wincp (id, strlen (id));                      uid = utf8_to_native (id);
125                      n = 32+strlen (uid)+1+4+strlen (r->keyid)+1;                      n = 32+strlen (uid)+1+4+strlen (r->keyid)+1;
126                      if (u->email)                      if (u->email)
127                          n += strlen (u->email)+1;                          n += strlen (u->email)+1;
# Line 297  parse_gpg_description (const char *uid_h Line 297  parse_gpg_description (const char *uid_h
297      uid_hint += 16; /* skip keyid */      uid_hint += 16; /* skip keyid */
298      uid_hint += 1;  /* space */      uid_hint += 1;  /* space */
299    
300      uid = utf8_to_wincp (uid_hint, strlen (uid_hint));      uid = utf8_to_native (uid_hint);
301    
302      if (strcmp (usedkey, mainkey))      if (strcmp (usedkey, mainkey))
303          _snprintf (desc, size-1,          _snprintf (desc, size-1,

Legend:
Removed from v.186  
changed lines
  Added in v.187

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26