[Winpt-commits] r416 - trunk/Src
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Sun Feb 12 19:29:29 CET 2012
Author: twoaday
Date: 2012-02-12 19:29:29 +0100 (Sun, 12 Feb 2012)
New Revision: 416
Modified:
trunk/Src/wptCurrWnd.cpp
Log:
Modified: trunk/Src/wptCurrWnd.cpp
===================================================================
--- trunk/Src/wptCurrWnd.cpp 2012-02-11 16:51:01 UTC (rev 415)
+++ trunk/Src/wptCurrWnd.cpp 2012-02-12 18:29:29 UTC (rev 416)
@@ -49,15 +49,13 @@
static int
clip_check (void)
{
- HANDLE clipmem;
-
/* Little backoff time to make sure the clipboard now really
contains all data. */
Sleep (400);
if (OpenClipboard (NULL) == FALSE)
return WPTERR_CLIP_OPEN;
- clipmem = GetClipboardData (CF_TEXT);
+ HANDLE clipmem = GetClipboardData (CF_TEXT);
if (clipmem == NULL) {
CloseClipboard ();
return WPTERR_CLIP_GET;
More information about the Winpt-commits
mailing list