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

Diff of /trunk/Src/wptKeygenCBDlg.cpp

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

revision 99 by twoaday, Fri Nov 25 07:47:51 2005 UTC revision 185 by twoaday, Mon Mar 20 12:48:52 2006 UTC
# Line 17  Line 17 
17   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
18   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19   */   */
   
20  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
21  #include <config.h>  #include <config.h>
22  #endif  #endif
# Line 43  keygen_cb_dlg_proc (HWND dlg, UINT msg, Line 42  keygen_cb_dlg_proc (HWND dlg, UINT msg,
42      case WM_INITDIALOG:      case WM_INITDIALOG:
43          SetDlgItemText (dlg, IDC_KEYPROG_CB, "");          SetDlgItemText (dlg, IDC_KEYPROG_CB, "");
44          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
45          SetWindowText (dlg, _("Key Generation - Progress Dialog"));          SetWindowText (dlg, _("Key Generation - Progress Dialog"));
46          center_window (dlg, NULL);          center_window (dlg, NULL);
47          dlg_hwnd = dlg;          dlg_hwnd = dlg;
48          return TRUE;          return TRUE;
# Line 115  keygen_cb (void * opaque, const char * w Line 114  keygen_cb (void * opaque, const char * w
114          return;          return;
115      }      }
116            
117      if (cb_pos >= (DIM (cb)-1))      if (cb_pos >= (DIM (cb)-1)) {
118            SetDlgItemText (dlg_hwnd, IDC_KEYPROG_CB, "");
119          cb_pos = 0;          cb_pos = 0;
120        }
121      cb[cb_pos] = (char)type;      cb[cb_pos] = (char)type;
122      cb_pos++;      cb_pos++;
123      cb[cb_pos] = '\0';      cb[cb_pos] = '\0';

Legend:
Removed from v.99  
changed lines
  Added in v.185

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26