Box_Lib - small fix for FileBrowser control

git-svn-id: svn://kolibrios.org@1589 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2010-08-24 20:12:25 +00:00
parent e5f1731a11
commit 9051c21ed5

View File

@ -223,7 +223,7 @@ fb_for_all_panel_selection:
fb_draw_folder_data: fb_draw_folder_data:
mov eax,fb_folder_block mov eax,fb_folder_block
sub eax,fb_max_panel_line sub eax,fb_max_panel_line
test eax,0x8000000 test eax,0x80000000
jz .ok_left jz .ok_left
mov fb_start_draw_line,0 mov fb_start_draw_line,0
jmp @f jmp @f
@ -1222,7 +1222,7 @@ fb_key:
mov eax,fb_max_panel_line mov eax,fb_max_panel_line
mov ebx,fb_start_draw_line mov ebx,fb_start_draw_line
sub ebx,eax sub ebx,eax
test ebx,0x8000000 test ebx,0x80000000
jz @f jz @f
cmp fb_start_draw_line,0 cmp fb_start_draw_line,0
jne .page_up_1 jne .page_up_1