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

Diff of /trunk/Src/wptCurrWnd.cpp

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

revision 415 by twoaday, Sat Feb 11 16:45:17 2012 UTC revision 416 by twoaday, Sun Feb 12 18:29:29 2012 UTC
# Line 49  clip_clear (void) Line 49  clip_clear (void)
49  static int  static int
50  clip_check (void)  clip_check (void)
51  {  {
     HANDLE clipmem;  
   
52      /* Little backoff time to make sure the clipboard now really      /* Little backoff time to make sure the clipboard now really
53         contains all data. */         contains all data. */
54      Sleep (400);      Sleep (400);
55                                    
56      if (OpenClipboard (NULL) == FALSE)      if (OpenClipboard (NULL) == FALSE)
57          return WPTERR_CLIP_OPEN;          return WPTERR_CLIP_OPEN;
58      clipmem = GetClipboardData (CF_TEXT);      HANDLE clipmem = GetClipboardData (CF_TEXT);
59      if (clipmem == NULL) {      if (clipmem == NULL) {
60          CloseClipboard ();          CloseClipboard ();
61          return WPTERR_CLIP_GET;          return WPTERR_CLIP_GET;

Legend:
Removed from v.415  
changed lines
  Added in v.416

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26