Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5424 → Rev 5425

/programs/system/icon_new/@icon.asm
1,4 → 1,4
ICON_STRIP equ '/rd/1/iconstrp.png'
ICON_STRIP equ '/rd/1/icons32.png'
ICON_INI equ '/rd/1/settings/icon.ini'
ICON_SIZE equ 68 ;à §¬¥à ®¡« á⨠¤«ï ¨ª®­ª¨ á ­ ¤¯¨áìî
IMG_SIZE equ 32 ;à §¬¥à ¨ª®­®ª
51,11 → 51,11
mov eax,[unpack_DeflateUnpack2]
mov [deflate_unpack],eax
;---------------------------------------------------------------------
; get size of file ICONSTRP.PNG
; get size of file icons32.png
mcall 70,fiStdIco
test eax,eax
jnz ErrorStrp
; get memory for ICONSTRP.PNG
; get memory for icons32.png
mov ecx,dword[bufStdIco+32]
mov [fiStdIco.size],ecx
mov [img_size],ecx
62,7 → 62,7
mcall 68,12
mov [fiStdIco.point],eax
mov [image_file],eax
; load ICONSTRP.PNG
; load icons32.png
mov dword[fiStdIco],0
mcall 70,fiStdIco
test eax,eax
197,7 → 197,7
;debug_newline
jmp close
ErrorStrp:
;dps 'Žè¨¡ª  ®âªàëâ¨ï iconstrp.png'
;dps 'Žè¨¡ª  ®âªàëâ¨ï icons32.png'
;debug_newline
close:
mcall -1