diff options
author | Kalle Wallin <kaw@linux.se> | 2004-07-21 10:08:04 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-07-21 10:08:04 +0000 |
commit | ae9cb88ecc8ea1381d1480b17614e922dac1ac2d (patch) | |
tree | 41d9b411540f5d2e7dd193d3e39ec186d6f5d574 | |
parent | 560af7a8534f1561be31fcd176b9000274d5dc45 (diff) | |
download | mpd-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-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/screen.c | 2 |
2 files changed, 8 insertions, 2 deletions
@@ -1,8 +1,14 @@ +2004-07-21 Kalle Wallin <kaw@linux.se> + * Added Spanish translations from Jose Cedeno + * command.c: dont lookup key if key==0 in find_key_command() + * screen.c: initialize dummy/last mode id to G_MAXINT + 2004-07-13 Kalle Wallin <kaw@linux.se> * command.c: added my_wgetch() function, Ctrl-C, Ctrl-Z are now hard coded to SIGINT and SIGSTOP * options.c: added options --mouse and --no-mouse * Crossfade time can now be definied in the conf file (crossfade-time) + * r1865 2004-07-12 Kalle Wallin <kaw@linux.se> * options.c: fixed short option handling for multiple short options @@ -15,7 +21,7 @@ * Mouse support is now optional (enable-mouse) 2004-07-09 Kalle Wallin <kaw@linux.se> - * ncmpc-0.11.0 released (r1820) + * ncmpc-0.11.0 (r1820) 2004-07-08 Kalle Wallin <kaw@linux.se> * doc/keys.sample: Welcome back 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; |