Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9567 → Rev 9568

/programs/other/ha/HACONFIG.ASM
1394,7 → 1394,7
library box_lib, 'box_lib.obj'
import box_lib,\
edit_box_draw, 'edit_box',\
edit_box_draw, 'edit_box_draw',\
edit_box_key, 'edit_box_key',\
edit_box_mouse, 'edit_box_mouse',\
init_checkbox, 'init_checkbox2',\
1579,9 → 1579,9
 
IntToStr: ;in esi - ñòðîêà; eñx - ÷èñëî
push eax ecx edx esi
cmp ecx, 0
jne @f
mov byte[esi], 48 ; '0'
or ecx, ecx
jnz @f
mov byte[esi], '0'
inc esi
jmp .end
@@:
1588,15 → 1588,15
mov eax, ecx
mov ecx, 10
.next:
mov edx, 0
xor edx, edx
div ecx
add edx, 48
add edx, '0'
 
mov byte[esi], dl
 
inc esi
cmp eax, 0
je .end
or eax, eax
jz .end
jmp .next
.end:
mov byte[esi], 0 ;êëàäÞì çàâåðøàþùèé íîëü