forked from KolibriOS/kolibrios
setup: cosmetic fix, use macro
git-svn-id: svn://kolibrios.org@7602 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
823ab628d0
commit
c708e98e95
@ -25,12 +25,12 @@ BootSettings:
|
|||||||
invoke ini.get_str, sz_ini, sz_system, sz_language, param, 2, 0
|
invoke ini.get_str, sz_ini, sz_system, sz_language, param, 2, 0
|
||||||
mov ax, [param]
|
mov ax, [param]
|
||||||
or ax, 0x2020 ; convert to lowercase
|
or ax, 0x2020 ; convert to lowercase
|
||||||
mov ecx,8
|
mov ecx,langMarks.size/2
|
||||||
mov edi,langMarks
|
mov edi,langMarks
|
||||||
repnz scasw
|
repnz scasw
|
||||||
jnz @f
|
jnz @f
|
||||||
neg ecx
|
neg ecx
|
||||||
add ecx,8
|
add ecx,langMarks.size/2
|
||||||
mcall 21,5
|
mcall 21,5
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
@ -384,7 +384,7 @@ onoff:
|
|||||||
saveAll:
|
saveAll:
|
||||||
; system language
|
; system language
|
||||||
mov eax,[syslang]
|
mov eax,[syslang]
|
||||||
mov ax, [eax*2+langMarks]
|
mov ax, word[eax*2+langMarks]
|
||||||
mov [param],eax
|
mov [param],eax
|
||||||
invoke ini.set_str, sz_ini, sz_system, sz_language, param, 2
|
invoke ini.set_str, sz_ini, sz_system, sz_language, param, 2
|
||||||
|
|
||||||
@ -484,8 +484,7 @@ stringsAmount = 6
|
|||||||
align 4
|
align 4
|
||||||
langs:
|
langs:
|
||||||
db 'ENGLISH FINNISH GERMAN RUSSIAN FRENCH ESTONIANSPANISH ITALIAN '
|
db 'ENGLISH FINNISH GERMAN RUSSIAN FRENCH ESTONIANSPANISH ITALIAN '
|
||||||
langMarks:
|
sz langMarks, 'en','fi','de','ru','fr','et','sp','it'
|
||||||
db 'enfiderufretspit'
|
|
||||||
|
|
||||||
textrus:
|
textrus:
|
||||||
db 'Ÿ§ëª á¨á⥬ë : < > <20>ਬ¥¨âì'
|
db 'Ÿ§ëª á¨á⥬ë : < > <20>ਬ¥¨âì'
|
||||||
|
Loading…
Reference in New Issue
Block a user