From 68db49f23362d30071faa67fef3b8a04652e0680 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 28 Jun 2005 13:51:14 +0000 Subject: [PATCH] Moved ppd file configuration to HKCU\Software\Wine\Printing\PPD Files. --- dlls/wineps/init.c | 4 ++-- dlls/winspool/info.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/wineps/init.c b/dlls/wineps/init.c index ede1c541766..70da11a6eb6 100644 --- a/dlls/wineps/init.c +++ b/dlls/wineps/init.c @@ -597,8 +597,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name) /* Look for a ppd file for this printer in the config file. * First look under that printer's name, and then under 'generic' */ - /* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\ppd */ - if((res != ERROR_SUCCESS) && !RegOpenKeyA(HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\ppd", &hkey)) + /* @@ Wine registry key: HKCU\Software\Wine\Printing\PPD Files */ + if((res != ERROR_SUCCESS) && !RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\Printing\\PPD Files", &hkey)) { const char* value_name; diff --git a/dlls/winspool/info.c b/dlls/winspool/info.c index f72d2bb7884..dbc90ead00f 100644 --- a/dlls/winspool/info.c +++ b/dlls/winspool/info.c @@ -508,8 +508,8 @@ void WINSPOOL_LoadSystemPrinters(void) if(!done) { /* If we have any CUPS based printers, skip looking for printcap printers */ /* Check for [ppd] section in config file before parsing /etc/printcap */ - /* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\ppd */ - if (RegOpenKeyA(HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\ppd", + /* @@ Wine registry key: HKCU\Software\Wine\Printing\PPD Files */ + if (RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\Printing\\PPD Files", &hkey) == ERROR_SUCCESS) { RegCloseKey(hkey); PRINTCAP_LoadPrinters();