diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index c699407ba5..d6312fb9bd 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -141,6 +141,10 @@ dd .setSkinUnicode cmp edx, 192 jnae @f mov edx, 192 ; max size +@@: + stdcall is_region_userspace, edi, edx + jnz @f + ret @@: mov esi, common_colours mov ecx, edx