diff src/select-msw.c @ 249:83b3d10dcba9 r20-5b23

Import from CVS: tag r20-5b23
author cvs
date Mon, 13 Aug 2007 10:19:09 +0200
parents 557eaa0339bf
children c5d627a313b1
line wrap: on
line diff
--- a/src/select-msw.c	Mon Aug 13 10:18:22 2007 +0200
+++ b/src/select-msw.c	Mon Aug 13 10:19:09 2007 +0200
@@ -84,7 +84,7 @@
     
   GlobalUnlock (h);
   
-  i = SetClipboardData (CF_TEXT, h);
+  i = (SetClipboardData (CF_TEXT, h) != NULL);
   
   CloseClipboard ();
   GlobalFree (h);