mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 00:40:08 +00:00
Fix null pointer reference for tools without icons in StatusBar::onProcessMessage.
This commit is contained in:
parent
8e007e9ca5
commit
02e82a326f
@ -458,9 +458,9 @@ bool StatusBar::onProcessMessage(JMessage msg)
|
||||
set_alpha_blender();
|
||||
draw_trans_sprite(doublebuffer, icon,
|
||||
x, (rc->y1+rc->y2)/2-icon->h/2);
|
||||
}
|
||||
|
||||
x += icon->w + 4*jguiscale();
|
||||
x += icon->w + 4*jguiscale();
|
||||
}
|
||||
}
|
||||
|
||||
// Status bar text
|
||||
|
Loading…
x
Reference in New Issue
Block a user