forked from KolibriOS/kolibrios
Revert #5635 (smaller, less complex, less violent...)
git-svn-id: svn://kolibrios.org@5664 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1fbde44c02
commit
99225de60a
Binary file not shown.
@ -22,8 +22,8 @@ read_skin_file:
|
|||||||
jnz .noskin
|
jnz .noskin
|
||||||
|
|
||||||
xchg eax, [skin_data]
|
xchg eax, [skin_data]
|
||||||
cmp eax, _skin_file_default
|
test eax, eax
|
||||||
je @f
|
jz @f
|
||||||
|
|
||||||
stdcall kernel_free, eax
|
stdcall kernel_free, eax
|
||||||
@@:
|
@@:
|
||||||
@ -86,7 +86,9 @@ ends
|
|||||||
align 4
|
align 4
|
||||||
load_default_skin:
|
load_default_skin:
|
||||||
mov [_skinh], 22
|
mov [_skinh], 22
|
||||||
mov [skin_data], _skin_file_default
|
mov ebx, _skin_file_default
|
||||||
|
call read_skin_file
|
||||||
|
ret
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
align 4
|
align 4
|
||||||
parse_skin_data:
|
parse_skin_data:
|
||||||
|
@ -13,7 +13,7 @@ $Revision$
|
|||||||
;
|
;
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
_skin_file_default file "default.skn"
|
_skin_file_default db '/sys/DEFAULT.SKN',0
|
||||||
endg
|
endg
|
||||||
|
|
||||||
struct SKIN_DATA
|
struct SKIN_DATA
|
||||||
|
Loading…
Reference in New Issue
Block a user