summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-02-25 07:37:43 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-02-25 07:37:43 +0000
commit7f15da51c3545707d579680ceefbfbd74ed9e112 (patch)
tree6ca7eb08d4566ebb7b06aa3845e6e1ad2fa37285 /windows
parent6b989a0d0bc400292b733031abafa150df3774bd (diff)
Erkennung einer inkompatiblen Tastaturbelegung in Ordnung gebracht
git-svn-id: https://svn.neo-layout.org@1696 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/neo-vars/src/source/initialize.ahk6
1 files changed, 5 insertions, 1 deletions
diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk
index 641db44..478d5e9 100644
--- a/windows/neo-vars/src/source/initialize.ahk
+++ b/windows/neo-vars/src/source/initialize.ahk
@@ -53,7 +53,11 @@ IniRead,dynamischesCompose,%ini%,Global,dynamischesCompose,0
regread,inputlocale,HKEY_CURRENT_USER,Keyboard Layout\Preload,1
regread,inputlocalealias,HKEY_CURRENT_USER,Keyboard Layout\Substitutes,%inputlocale%
-if (inputlocalealias<>inputlocale=%inputlocalealias% and inputlocale<>00000407) {
+
+if (inputlocalealias<>"")
+ inputlocale:=inputlocalealias
+
+if (inputlocale<>"00000407") {
suspend
regread,inputlocale,HKEY_LOCAL_MACHINE,SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%inputlocale%,Layout Text
msgbox, 48, Warnung!,