/[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 120 by twoaday, Thu Dec 8 09:26:32 2005 UTC revision 121 by twoaday, Mon Dec 12 11:19:56 2005 UTC
# Line 1561  showpref_dlg_proc (HWND dlg, UINT msg, W Line 1561  showpref_dlg_proc (HWND dlg, UINT msg, W
1561          cb = (keyedit_callback_s *)lparam;          cb = (keyedit_callback_s *)lparam;
1562          if (cb == NULL)          if (cb == NULL)
1563              BUG (dlg);              BUG (dlg);
1564          listview_get_item_text (cb->lv, listview_get_curr_pos (cb->lv), 2, buf, DIM (buf)-1);          pos = listview_get_curr_pos (cb->lv);
1565            listview_get_item_text (cb->lv, pos, 2, buf, DIM (buf)-1);
1566          SetDlgItemText (dlg, IDC_SHOWPREF_INFO, buf);          SetDlgItemText (dlg, IDC_SHOWPREF_INFO, buf);
1567          pos = do_find_userid (((winpt_key_t)cb->opaque)->keyid, buf, &inf);          pos = do_find_userid (((winpt_key_t)cb->opaque)->keyid, buf, &inf);
1568          if (inf) {          if (inf) {
# Line 1581  showpref_dlg_proc (HWND dlg, UINT msg, W Line 1582  showpref_dlg_proc (HWND dlg, UINT msg, W
1582                  CheckDlgButton (dlg, IDC_SHOWPREF_MDC, BST_CHECKED);                  CheckDlgButton (dlg, IDC_SHOWPREF_MDC, BST_CHECKED);
1583          }          }
1584          SetWindowText (dlg, _("Key Preferences"));          SetWindowText (dlg, _("Key Preferences"));
1585            SetDlgItemText (dlg, IDC_SHOWPREF_MDC, _("MDC feature"));
1586            SetDlgItemText (dlg, IDC_SHOWPREF_PREFINF, _("Preferences"));  
1587          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
1588          break;          break;
1589    

Legend:
Removed from v.120  
changed lines
  Added in v.121

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26