[ros-diffs] [gedmurphy] 25299: It's strange that I always notice my own errors in ros-diffs and not before the commit.

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Fri Jan 5 00:39:26 CET 2007


Author: gedmurphy
Date: Fri Jan  5 02:39:26 2007
New Revision: 25299

URL: http://svn.reactos.org/svn/reactos?rev=25299&view=rev
Log:
It's strange that I always notice my own errors in ros-diffs and not before the commit.

Modified:
    trunk/reactos/dll/cpl/desk/preview.c

Modified: trunk/reactos/dll/cpl/desk/preview.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/preview.c?rev=25299&r1=25298&r2=25299&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/preview.c (original)
+++ trunk/reactos/dll/cpl/desk/preview.c Fri Jan  5 02:39:26 2007
@@ -176,7 +176,7 @@
     HDC hdc;
     PAINTSTRUCT ps;
     RECT rc;
-
+    static NONCLIENTMETRICS NonClientMetrics;
     static TCHAR szInAct[32];
     static TCHAR szAct[32];
     static TCHAR szWinTxt[32];
@@ -190,8 +190,6 @@
     {
         case WM_CREATE:
         {
-            NONCLIENTMETRICS NonClientMetrics;
-
             pPreviewData = (PPREVIEW_DATA)HeapAlloc(GetProcessHeap(),
                                                     HEAP_ZERO_MEMORY,
                                                     sizeof(PREVIEW_DATA));




More information about the Ros-diffs mailing list