From 6aac7a3d5af5b62c6ceea63d10bfb971c7a5a483 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Mon, 4 May 2020 14:02:04 +0000 Subject: [PATCH] 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 --- programs/media/kiv/trunk/kiv.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/media/kiv/trunk/kiv.asm b/programs/media/kiv/trunk/kiv.asm index 1a2228dd72..fd2b7bc9b6 100644 --- a/programs/media/kiv/trunk/kiv.asm +++ b/programs/media/kiv/trunk/kiv.asm @@ -1146,7 +1146,7 @@ proc draw_scale_button mov [scale_button_letter], 'W' ; cmp [scale_mode], LIBIMG_SCALE_FIT_MIN @@: - mcall 4, , 0x800100ff, scale_button_letter + mcall 4, , 0x800000ff, scale_button_letter popad ret endp @@ -2378,7 +2378,7 @@ palette: file 'kivicons.bmp':0x36,offbits-0x36 buttons: file 'kivicons.bmp':offbits -repeat 11 +repeat 10 y = %-1 z = 20-% repeat numimages*5