TASKBAR: change lang by a single Ctrl+Shift (thanks Mihail Serebryakov for the bugreport)

git-svn-id: svn://kolibrios.org@8427 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-12-16 18:12:57 +00:00
parent 826c0501b8
commit bb56998236
2 changed files with 5 additions and 5 deletions

View File

@ -10,13 +10,13 @@ load_ini:
mcall 70,get_ini mcall 70,get_ini
mov al,[inicont] mov al,[inicont]
sub al,30h sub al,30h
mov [lngcrc3],al mov [lngcrc2],al
mov [point2],52h mov [point2],52h ;3d language in Ctrl+Shift
mcall 70,get_ini mcall 70,get_ini
mov al,[inicont] mov al,[inicont]
sub al,30h sub al,30h
mov [lngcrc2],al mov [lngcrc3],al
mov [point2],06eh mov [point2],06eh
mcall 70,get_ini mcall 70,get_ini
@ -84,7 +84,7 @@ karu:
mov [draw_flag_certainly],1 mov [draw_flag_certainly],1
dec [key_r2] dec [key_r2]
jns @f jns @f
mov [key_r2],2 mov [key_r2],1 ; Languages count - 1
@@: @@:
xor eax,eax xor eax,eax
mov al, [key_r2] mov al, [key_r2]

View File

@ -121,7 +121,7 @@ handle_key:
je prod je prod
mov [key_r],al mov [key_r],al
sub [key_r],2 sub [key_r],3
cmp [key_r],9 cmp [key_r],9
jc alter jc alter