summaryrefslogtreecommitdiff
path: root/user/wine/printer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/wine/printer.patch')
-rw-r--r--user/wine/printer.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/wine/printer.patch b/user/wine/printer.patch
index 4910e4726..6ccfab003 100644
--- a/user/wine/printer.patch
+++ b/user/wine/printer.patch
@@ -2,12 +2,12 @@
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
+@@ -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, winspool_mutex_name );
+ init_mutex = CreateMutexW( NULL, TRUE, L"__WINE_WINSPOOL_MUTEX__" );
if (!init_mutex)
{
--