projects
/
neverball
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace strong level path from replay with a couple (name/version) of the level.
[neverball]
/
ball
/
util.c
diff --git
a/ball/util.c
b/ball/util.c
index
a0a5d37
..
1662ba0
100644
(file)
--- a/
ball/util.c
+++ b/
ball/util.c
@@
-359,7
+359,7
@@
int gui_maybe(int id, const char *label, int token, int enabled)
bd = gui_state(id, label, GUI_SML, token, 0);
else
{
- bd = gui_state(id, label, GUI_SML, GUI_NULL, 0);
+ bd = gui_state(id, label, GUI_SML, token >= 0 ? token | GUI_NULL_MASK : GUI_NULL, 0);
gui_set_color(bd, gui_gry, gui_gry);
}
return bd;