better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@763 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
75c73e98e1
commit
8ed8e51ba7
2 changed files with 11 additions and 20 deletions
|
|
@ -75,7 +75,7 @@ static void draw(MwWidget handle) {
|
|||
p.x = 5 + tw / 2;
|
||||
|
||||
p.y += th / 2;
|
||||
MwDrawText(handle, &p, menu->sub[i]->name, 1, MwALIGNMENT_CENTER, text);
|
||||
MwDrawText(handle, &p, menu->sub[i]->name, menu->sub[i]->wsub != NULL ? 1 : 0, MwALIGNMENT_CENTER, text);
|
||||
|
||||
if(arrlen(menu->sub[i]->sub) > 0) {
|
||||
MwRect tr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue