Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3353 → Rev 3352

/programs/develop/libraries/box_lib/trunk/scrollbar.mac
468,13 → 468,6
imul eax,sb_cur_area
xor edx,edx
div ebx
shl edx,1
cmp edx,ebx
jb @f
inc eax
@@:
cmp eax,10
jae @f
mov eax,10
496,13 → 489,6
imul eax,sb_position
xor edx,edx
div ebx
shl edx,1
cmp edx,ebx
jb @f
inc eax
@@:
.@@_1:
mov sb_position2,eax
xor edx,edx
988,15 → 974,6
@@:
.store_position:
mov edx,sb_max_area
sub edx,sb_cur_area
cmp edx,eax
ja @f
 
mov sb_position,edx
jmp .all_sb
 
@@:
mov sb_position,eax
.all_sb:
mov sb_redraw,dword 1
1069,13 → 1046,6
imul eax,sb_cur_area
xor edx,edx
div ebx
shl edx,1
cmp edx,ebx
jb @f
inc eax
@@:
cmp eax,10
jae @f
mov eax,10
1097,13 → 1067,6
imul eax,sb_position
xor edx,edx
div ebx
shl edx,1
cmp edx,ebx
jb @f
inc eax
@@:
.@@_1:
mov sb_position2,eax
xor edx,edx
1597,15 → 1560,6
@@:
.store_position:
mov edx,sb_max_area
sub edx,sb_cur_area
cmp edx,eax
ja @f
 
mov sb_position,edx
jmp .all_sb
 
@@:
mov sb_position,eax
.all_sb:
mov sb_redraw,dword 1