winspool: [1/5] Use correct Path for 16Bit-Drivers

Detlef Riekenberg wine.dev at web.de
Thu Jul 26 17:01:38 CDT 2007


This Patchset improves support for GetPrinterDriver 
and EnumPrinterDrivers (fix bug 5734).


Changelog:
winspool: Use correct Path for 16Bit-Drivers



-- 
 
By by ... Detlef

-------------- next part --------------
>From 29305b5e78bb872d1c1ee665bd0fbfdbb178ac34 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Thu, 26 Jul 2007 22:54:14 +0200
Subject: [PATCH] winspool: Use correct Path for 16Bit Drivers
---
 dlls/winspool.drv/info.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index f5ed7ef..ffe729f 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -192,6 +192,8 @@ static const WCHAR envname_win40W[] = {'
 static const WCHAR envname_x86W[] =   {'W','i','n','d','o','w','s',' ','N','T',' ','x','8','6',0};
 static const WCHAR subdir_win40W[] = {'w','i','n','4','0',0};
 static const WCHAR subdir_x86W[] =   {'w','3','2','x','8','6',0};
+static const WCHAR Version0_RegPathW[] = {'\\','V','e','r','s','i','o','n','-','0',0};
+static const WCHAR Version0_SubdirW[] = {'\\','0',0};
 static const WCHAR Version3_RegPathW[] = {'\\','V','e','r','s','i','o','n','-','3',0};
 static const WCHAR Version3_SubdirW[] = {'\\','3',0};
 
@@ -264,7 +266,8 @@ static const  printenv_t * validate_envW
     static const printenv_t env_x86 =   {envname_x86W, subdir_x86W,
                                          3, Version3_RegPathW, Version3_SubdirW};
     static const printenv_t env_win40 = {envname_win40W, subdir_win40W,
-                                         0, emptyStringW, emptyStringW};
+                                         0, Version0_RegPathW, Version0_SubdirW};
+
     static const printenv_t * const all_printenv[]={&env_x86, &env_win40};
 
     const printenv_t *result = NULL;
-- 
1.4.1



More information about the wine-patches mailing list