[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:02:50 UTC 2012


The following commit has been merged in the wheezy branch:
commit 012f4dcdb53a6c00b1e1a300ef155bbbe207a485
Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Wed Mar 28 02:30:27 2012 -0300

    kernel32: Avoid ini cache if file does not exist anymore.
    (cherry picked from commit 40f0145d002404ca75c3f998437df1556df45677)

diff --git a/dlls/kernel32/profile.c b/dlls/kernel32/profile.c
index 89b96a1..3d00c29 100644
--- a/dlls/kernel32/profile.c
+++ b/dlls/kernel32/profile.c
@@ -817,10 +817,10 @@ static BOOL PROFILE_Open( LPCWSTR filename, BOOL write_access )
                     CurProfile->LastWriteTime = LastWriteTime;
                 }
                 CloseHandle(hFile);
+                return TRUE;
             }
             else TRACE("(%s): already opened, not yet created (mru=%d)\n",
                        debugstr_w(buffer), i);
-            return TRUE;
         }
     }
 

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list