summaryrefslogblamecommitdiff
path: root/user/wine/printer.patch
blob: 6ccfab003794e577f6698c11ec23ffc5e0fb4ff9 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                

                                                            


                                                              
                                                                         


                     
 dlls/winspool.drv/info.c | 1 +
 1 file changed, 1 insertion(+)
--- a/dlls/winspool.drv/info.c	
+++ a/dlls/winspool.drv/info.c	
@@ -1136,6 +1136,7 @@ void WINSPOOL_LoadSystemPrinters(void)
     WCHAR               PrinterName[256];
 
     /* FIXME: The init code should be moved to spoolsv.exe */
+    SetLastError(0);
     init_mutex = CreateMutexW( NULL, TRUE, L"__WINE_WINSPOOL_MUTEX__" );
     if (!init_mutex)
     {
--