forked from KolibriOS/kolibrios
newlib: DrawWindow(): clear esi
git-svn-id: svn://kolibrios.org@4506 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
39ffaa657e
commit
11e35fedfb
@ -94,10 +94,11 @@ static inline void DrawWindow(int x, int y, int w, int h, const char *name,
|
|||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"int $0x40"
|
"int $0x40"
|
||||||
::"a"(0),
|
::"a"(0),
|
||||||
"b"((x << 16) | ((w-1) & 0xFFFF)),
|
"b"((x << 16) | ((w-1) & 0xFFFF)),
|
||||||
"c"((y << 16) | ((h-1) & 0xFFFF)),
|
"c"((y << 16) | ((h-1) & 0xFFFF)),
|
||||||
"d"((style << 24) | (workcolor & 0xFFFFFF)),
|
"d"((style << 24) | (workcolor & 0xFFFFFF)),
|
||||||
"D"(name));
|
"D"(name),
|
||||||
|
"S"(0));
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
|
Loading…
Reference in New Issue
Block a user