kiv: fix loading of toolbar icons.

Toolbar icons are loaded not in runtime from an image file but in
compile time via fasm preprocessor script. An error was introduced in
r7860 which is fixed now.

git-svn-id: svn://kolibrios.org@7862 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-05-04 14:02:04 +00:00
parent e74d295b71
commit 6aac7a3d5a

View File

@ -1146,7 +1146,7 @@ proc draw_scale_button
mov [scale_button_letter], 'W' mov [scale_button_letter], 'W'
; cmp [scale_mode], LIBIMG_SCALE_FIT_MIN ; cmp [scale_mode], LIBIMG_SCALE_FIT_MIN
@@: @@:
mcall 4, , 0x800100ff, scale_button_letter mcall 4, , 0x800000ff, scale_button_letter
popad popad
ret ret
endp endp
@ -2378,7 +2378,7 @@ palette:
file 'kivicons.bmp':0x36,offbits-0x36 file 'kivicons.bmp':0x36,offbits-0x36
buttons: buttons:
file 'kivicons.bmp':offbits file 'kivicons.bmp':offbits
repeat 11 repeat 10
y = %-1 y = %-1
z = 20-% z = 20-%
repeat numimages*5 repeat numimages*5