Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 7601 → Rev 7602

/programs/system/setup/trunk/setup.asm
25,12 → 25,12
invoke ini.get_str, sz_ini, sz_system, sz_language, param, 2, 0
mov ax, [param]
or ax, 0x2020 ; convert to lowercase
mov ecx,8
mov ecx,langMarks.size/2
mov edi,langMarks
repnz scasw
jnz @f
neg ecx
add ecx,8
add ecx,langMarks.size/2
mcall 21,5
@@:
 
384,7 → 384,7
saveAll:
; system language
mov eax,[syslang]
mov ax, [eax*2+langMarks]
mov ax, word[eax*2+langMarks]
mov [param],eax
invoke ini.set_str, sz_ini, sz_system, sz_language, param, 2
 
484,8 → 484,7
align 4
langs:
db 'ENGLISH FINNISH GERMAN RUSSIAN FRENCH ESTONIANSPANISH ITALIAN '
langMarks:
db 'enfiderufretspit'
sz langMarks, 'en','fi','de','ru','fr','et','sp','it'
 
textrus:
db 'Ÿ§ëª á¨á⥬ë : < > à¨¬¥­¨âì'
533,4 → 532,4
 
param:
rb 1024
I_END:
I_END: