forked from KolibriOS/kolibrios
Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
Prevent creation of buttons with negative or zero width/height git-svn-id: svn://kolibrios.org@54 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -173,6 +173,11 @@ sys_button:
|
||||
push ecx
|
||||
push edx
|
||||
|
||||
or ax,ax
|
||||
jle noaddbutt
|
||||
or bx,bx
|
||||
jle noaddbutt
|
||||
|
||||
test ecx,0x40000000
|
||||
jnz button_no_draw
|
||||
|
||||
|
Reference in New Issue
Block a user