summaryrefslogblamecommitdiff
path: root/user/wine/printer.patch
blob: 4910e4726ee4ff13add98960585216456a46b3d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13











                                                                  
 dlls/winspool.drv/info.c | 1 +
 1 file changed, 1 insertion(+)
--- a/dlls/winspool.drv/info.c	
+++ a/dlls/winspool.drv/info.c	
@@ -1620,6 +1620,7 @@ void WINSPOOL_LoadSystemPrinters(void)
 #endif
 
     /* FIXME: The init code should be moved to spoolsv.exe */
+    SetLastError(0);
     init_mutex = CreateMutexW( NULL, TRUE, winspool_mutex_name );
     if (!init_mutex)
     {
--