From ae9cb88ecc8ea1381d1480b17614e922dac1ac2d Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 21 Jul 2004 10:08:04 +0000 Subject: [PATCH] Initialize dummy/last mode id to G_MAXINT git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1890 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- ChangeLog | 8 +++++++- src/screen.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1978644..45c6942 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,14 @@ +2004-07-21 Kalle Wallin + * 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 * 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 * 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 - * ncmpc-0.11.0 released (r1820) + * ncmpc-0.11.0 (r1820) 2004-07-08 Kalle Wallin * doc/keys.sample: Welcome back diff --git a/src/screen.c b/src/screen.c index 966dbd3..2e0bad8 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; -- 2.30.2