mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
oops
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@743 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -513,7 +513,7 @@ static void set_boldfont(MwWidget handle) {
|
||||
#endif
|
||||
|
||||
void MwSetDefault(MwWidget handle) {
|
||||
MwLLSetCursor(handle->lowlevel, &MwCursorDefault, &MwCursorDefaultMask);
|
||||
if(handle->lowlevel != NULL) MwLLSetCursor(handle->lowlevel, &MwCursorDefault, &MwCursorDefaultMask);
|
||||
|
||||
#ifdef USE_CLASSIC_THEME
|
||||
inherit_integer(handle, MwNmodernLook, 0);
|
||||
@@ -521,10 +521,8 @@ void MwSetDefault(MwWidget handle) {
|
||||
inherit_integer(handle, MwNmodernLook, 1);
|
||||
#endif
|
||||
#if defined(USE_STB_TRUETYPE) || defined(USE_FREETYPE2)
|
||||
if(handle->widget_class != NULL){
|
||||
set_font(handle);
|
||||
set_boldfont(handle);
|
||||
}
|
||||
set_font(handle);
|
||||
set_boldfont(handle);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user