aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-21 10:08:04 +0000
committerKalle Wallin <kaw@linux.se>2004-07-21 10:08:04 +0000
commitae9cb88ecc8ea1381d1480b17614e922dac1ac2d (patch)
tree41d9b411540f5d2e7dd193d3e39ec186d6f5d574 /src/screen.c
parent560af7a8534f1561be31fcd176b9000274d5dc45 (diff)
downloadmpd-ae9cb88ecc8ea1381d1480b17614e922dac1ac2d.tar.gz
mpd-ae9cb88ecc8ea1381d1480b17614e922dac1ac2d.tar.xz
mpd-ae9cb88ecc8ea1381d1480b17614e922dac1ac2d.zip
Initialize dummy/last mode id to G_MAXINT
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1890 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 966dbd303..2e0bad8ee 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -75,7 +75,7 @@ static screen_mode_info_t screens[] = {
#ifdef ENABLE_CLOCK_SCREEN
{ SCREEN_CLOCK_ID, "clock", get_screen_clock },
#endif
- { -1, NULL, NULL }
+ { G_MAXINT, NULL, NULL }
};
static gboolean welcome = TRUE;