aboutsummaryrefslogtreecommitdiff
path: root/midend.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-10-22 16:52:16 +0000
committerSimon Tatham <anakin@pobox.com>2005-10-22 16:52:16 +0000
commiteb2013efc0a6201d0e46de65c1a905b676d13d01 (patch)
tree256e92f4cdd537713f9de693bae36b1ac9fb4e45 /midend.c
parent40fcf516f40e10f23f5a9f6760bfffae206b2e49 (diff)
downloadpuzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.zip
puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.gz
puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.bz2
puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.xz
Cleanup: it was absolutely stupid for game_wants_statusbar() to be a
function, since it took no parameters by which to vary its decision, and in any case it's hard to imagine a game which only _conditionally_ wants a status bar. Changed it into a boolean data field in the backend structure. [originally from svn r6417]
Diffstat (limited to 'midend.c')
-rw-r--r--midend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midend.c b/midend.c
index 0d19beb..ab70489 100644
--- a/midend.c
+++ b/midend.c
@@ -891,7 +891,7 @@ void midend_fetch_preset(midend *me, int n,
int midend_wants_statusbar(midend *me)
{
- return me->ourgame->wants_statusbar();
+ return me->ourgame->wants_statusbar;
}
void midend_supersede_game_desc(midend *me, char *desc, char *privdesc)