Code

screen_help: remove CMD_SCREEN_SONG if song screen is disabled
authorIhar Hrachyshka <ihar.hrachyshka@gmail.com>
Wed, 21 Jul 2010 05:43:01 +0000 (07:43 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 21 Jul 2010 06:00:42 +0000 (08:00 +0200)
commit0cc3e108a34ea669c1edafb55574fef1e10409c1
treea226c39339ce5de7c8ee3030187574063261ad97
parente77401d625645dedbe3d8abdbb030adbc8ac4cde
screen_help: remove CMD_SCREEN_SONG if song screen is disabled

This fixes a NULL pointer dereference, caused by
get_key_names(CMD_SCREEN_SONG)==NULL.
src/screen_help.c