diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-26 16:50:23 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-26 16:50:23 +0000 |
commit | 15b8a363b74aabbdb42ab545f35087e832284fdf (patch) | |
tree | a43fe25861237ddebb407863ed5d9bb318fe0078 /patches/xwin/winconfig.patch | |
parent | 9c8846312c57ce85dc664edec460dc23ec345f4c (diff) | |
download | midipix_build-15b8a363b74aabbdb42ab545f35087e832284fdf.tar.bz2 midipix_build-15b8a363b74aabbdb42ab545f35087e832284fdf.tar.xz |
patches/xwin/*.patch: via Redfoxmoon.
Diffstat (limited to 'patches/xwin/winconfig.patch')
-rw-r--r-- | patches/xwin/winconfig.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/xwin/winconfig.patch b/patches/xwin/winconfig.patch new file mode 100644 index 00000000..4e58a776 --- /dev/null +++ b/patches/xwin/winconfig.patch @@ -0,0 +1,13 @@ +--- xorg-server-1.20.1.orig/hw/xwin/winconfig.c 2018-08-07 18:31:04.000000000 +0200 ++++ xorg-server-1.20.1/hw/xwin/winconfig.c 2018-08-26 16:32:01.065234453 +0200 +@@ -301,8 +301,8 @@ + strcpy(regpath, regtempl); + strcat(regpath, layoutName); + +- if (!RegOpenKey(HKEY_LOCAL_MACHINE, regpath, ®key)) +- RegQueryValueEx(regkey, "Layout Text", 0, NULL, ++ if (!RegOpenKeyA(HKEY_LOCAL_MACHINE, regpath, ®key)) ++ RegQueryValueExA(regkey, "Layout Text", 0, NULL, + layoutFriendlyName, &namesize); + + /* Close registry key */ |