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

Diff of /trunk/Src/wptMainProc.cpp

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

revision 417 by twoaday, Sat Feb 11 16:51:01 2012 UTC revision 418 by twoaday, Sun Feb 26 17:57:33 2012 UTC
# Line 48  Line 48 
48  #include "wptCardEdit.h"  #include "wptCardEdit.h"
49    
50    
 /* KLUDGE: for no-hooking */  
 extern int disable_hook;  
   
   
51  int update_keycache (HWND hwnd);  int update_keycache (HWND hwnd);
52    
53  /* Command for the Key Manager dialog. (0=no command) */  /* Command for the Key Manager dialog. (0=no command) */
# Line 337  winpt_main_proc (HWND hwnd, UINT msg, WP Line 333  winpt_main_proc (HWND hwnd, UINT msg, WP
333              if (rc)              if (rc)
334                  msg_box (hwnd, hotkeys_strerror (), winpt_strerror (rc), MB_ERR);                  msg_box (hwnd, hotkeys_strerror (), winpt_strerror (rc), MB_ERR);
335          }          }
336          if (!disable_hook) {          rc = PTD_initialize ();
337              rc = PTD_initialize ();          if (!rc)
338              if (!rc)              msg_box (hwnd, _("Could not set current window mode hooks."), _("WinPT Error"), MB_OK);
                 msg_box (hwnd, _("Could not set current window mode hooks."), _("WinPT Error"), MB_OK);  
         }  
339          mapi_init ();          mapi_init ();
340          init_common_controls ();          init_common_controls ();
341          LoadLibrary ("RichEd32.Dll");          LoadLibrary ("RichEd32.Dll");

Legend:
Removed from v.417  
changed lines
  Added in v.418

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26