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

Diff of /trunk/Src/wptKeyEditDlgs.cpp

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

revision 443 by twoaday, Sun Jan 29 12:27:40 2012 UTC revision 444 by twoaday, Sat Apr 14 17:08:57 2012 UTC
# Line 625  w32_mktime (SYSTEMTIME *st) Line 625  w32_mktime (SYSTEMTIME *st)
625    
626    
627  /* Helper to map dialog indexes to GPG addkey commands */  /* Helper to map dialog indexes to GPG addkey commands */
628  typedef struct subkey_menu_t {  struct subkey_menu_t {
629      int index;      int index;
630      const char *text;      const char *text;
631      int gpg_index;      int gpg_index;
# Line 1607  showpref_dlg_proc (HWND dlg, UINT msg, W Line 1607  showpref_dlg_proc (HWND dlg, UINT msg, W
1607  {  {
1608      static keyedit_cb_t cb = NULL;      static keyedit_cb_t cb = NULL;
1609      gpg_uid_info_t inf=NULL, u;      gpg_uid_info_t inf=NULL, u;
     gpgme_key_t key;  
1610      char buf[128];      char buf[128];
1611      int pos;      int pos;
1612    
# Line 1616  showpref_dlg_proc (HWND dlg, UINT msg, W Line 1615  showpref_dlg_proc (HWND dlg, UINT msg, W
1615          cb = (keyedit_cb_t)lparam;          cb = (keyedit_cb_t)lparam;
1616          if (!cb)          if (!cb)
1617              BUG (NULL);              BUG (NULL);
         key = (gpgme_key_t)cb->opaque;  
1618          listview_get_item_text (cb->lv, cb->lv_pos,          listview_get_item_text (cb->lv, cb->lv_pos,
1619                                  UID_COL_EMAIL, buf, DIM (buf)-1);                                  UID_COL_EMAIL, buf, DIM (buf)-1);
1620          pos = do_find_userid (cb->keyid, buf, NULL, &inf);          pos = do_find_userid (cb->keyid, buf, NULL, &inf);

Legend:
Removed from v.443  
changed lines
  Added in v.444

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26