From 0f834b91a4768673833ab4917e87d86c237bb1a6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 23 Mar 2012 10:05:55 +0100 Subject: libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update 23 Mar 2012 --- xorg-server/hw/xwin/winregistry.c | 44 +++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 25 deletions(-) (limited to 'xorg-server/hw/xwin/winregistry.c') diff --git a/xorg-server/hw/xwin/winregistry.c b/xorg-server/hw/xwin/winregistry.c index 3571b14d7..d33f8c363 100644 --- a/xorg-server/hw/xwin/winregistry.c +++ b/xorg-server/hw/xwin/winregistry.c @@ -34,38 +34,32 @@ #include "win.h" /* Prototypes */ -DWORD -winGetRegistryDWORD (HKEY hkey, char *pszRegistryKey); +DWORD winGetRegistryDWORD(HKEY hkey, char *pszRegistryKey); DWORD -winGetRegistryDWORD (HKEY hkey, char *pszRegistryKey) +winGetRegistryDWORD(HKEY hkey, char *pszRegistryKey) { - HKEY hkResult; - DWORD dwDisposition; + HKEY hkResult; + DWORD dwDisposition; - RegCreateKeyEx (hkey, - pszRegistryKey, - 0, - '\0', - REG_OPTION_NON_VOLATILE, - KEY_READ, - NULL, - &hkResult, - &dwDisposition); + RegCreateKeyEx(hkey, + pszRegistryKey, + 0, + '\0', + REG_OPTION_NON_VOLATILE, + KEY_READ, NULL, &hkResult, &dwDisposition); - if (dwDisposition == REG_CREATED_NEW_KEY) - { - ErrorF ("winGetRegistryDWORD - Created new key: %s\n", pszRegistryKey); + if (dwDisposition == REG_CREATED_NEW_KEY) { + ErrorF("winGetRegistryDWORD - Created new key: %s\n", pszRegistryKey); } - else if (dwDisposition == REG_OPENED_EXISTING_KEY) - { - ErrorF ("winGetRegistryDWORD - Opened existing key: %s\n", - pszRegistryKey); + else if (dwDisposition == REG_OPENED_EXISTING_KEY) { + ErrorF("winGetRegistryDWORD - Opened existing key: %s\n", + pszRegistryKey); } - /* Free the registry key handle */ - RegCloseKey (hkResult); - hkResult = NULL; + /* Free the registry key handle */ + RegCloseKey(hkResult); + hkResult = NULL; - return 0; + return 0; } -- cgit v1.2.3