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

Diff of /trunk/Src/wptClipEditDlg.cpp

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

revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC revision 65 by twoaday, Thu Nov 3 16:55:25 2005 UTC
# Line 23  Line 23 
23  #endif  #endif
24    
25  #include <windows.h>  #include <windows.h>
 #include <windows.h>  
26  #include <stdio.h>  #include <stdio.h>
27    
28  #include "wptTypes.h"  #include "wptTypes.h"
# Line 127  save_clipboard_to_file (HWND dlg) Line 126  save_clipboard_to_file (HWND dlg)
126  {  {
127      OPENFILENAME save;      OPENFILENAME save;
128      FILE *fp;      FILE *fp;
129      char *p;      char *p=NULL;
130      char file[300] = "";      char file[300] = "";
131      DWORD nbytes;      DWORD nbytes;
132      int id;      int id;
# Line 229  clip_edit_dlg_proc (HWND dlg, UINT msg, Line 228  clip_edit_dlg_proc (HWND dlg, UINT msg,
228          case IDC_CLIPEDIT_LOAD:          case IDC_CLIPEDIT_LOAD:
229              if (!load_clipboard_from_file (dlg)) {              if (!load_clipboard_from_file (dlg)) {
230                  /* XXX: for some files the code produces a crash! */                  /* XXX: for some files the code produces a crash! */
231                  PostMessage (dlg, WM_COMMAND, MAKEWPARAM(IDC_CLIPEDIT_SEND, 0), NULL);                  PostMessage (dlg, WM_COMMAND, MAKEWPARAM(IDC_CLIPEDIT_SEND, 0), 0);
232              }              }
233              return TRUE;              return TRUE;
234                            

Legend:
Removed from v.47  
changed lines
  Added in v.65

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26