Revert #5635 (smaller, less complex, less violent...)

git-svn-id: svn://kolibrios.org@5664 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2015-08-03 12:35:06 +00:00
parent 1fbde44c02
commit 99225de60a
3 changed files with 6 additions and 4 deletions

Binary file not shown.

View File

@ -22,8 +22,8 @@ read_skin_file:
jnz .noskin
xchg eax, [skin_data]
cmp eax, _skin_file_default
je @f
test eax, eax
jz @f
stdcall kernel_free, eax
@@:
@ -86,7 +86,9 @@ ends
align 4
load_default_skin:
mov [_skinh], 22
mov [skin_data], _skin_file_default
mov ebx, _skin_file_default
call read_skin_file
ret
;------------------------------------------------------------------------------
align 4
parse_skin_data:

View File

@ -13,7 +13,7 @@ $Revision$
;
iglobal
_skin_file_default file "default.skn"
_skin_file_default db '/sys/DEFAULT.SKN',0
endg
struct SKIN_DATA