From: Frank T. <ft...@be...> - 2006-09-20 21:45:05
|
*sigh* I missed some old code in #if 0 .... #endif removed now. --- ui_curses.c | 29 ----------------------------- 1 files changed, 0 insertions(+), 29 deletions(-) diff --git a/ui_curses.c b/ui_curses.c index 7b0f5dd..6d7eb91 100644 --- a/ui_curses.c +++ b/ui_curses.c @@ -701,35 +701,6 @@ static void print_help(struct window *wi snprintf(buf, sizeof(buf), "%s", e->text); } else if (e->type == HE_BOUND) { -#if 0 - char str_ctx[10]; - switch (e->binding->ctx) { - case CTX_BROWSER: - strcpy(str_ctx, "browser"); - break; - case CTX_COMMON: - strcpy(str_ctx, "common"); - break; - case CTX_FILTERS: - strcpy(str_ctx, "filters"); - break; - case CTX_HELP: - strcpy(str_ctx, "help"); - break; - case CTX_LIBRARY: - strcpy(str_ctx, "library"); - break; - case CTX_PLAYLIST: - strcpy(str_ctx, "playlist"); - break; - case CTX_QUEUE: - strcpy(str_ctx, "queue"); - break; - default: - strcpy(str_ctx, "-unknown-"); - } - snprintf(buf, sizeof(buf), " %-20s %-20s %-20s", str_ctx, e->binding->key->name, e->binding->cmd); -#endif snprintf(buf, sizeof(buf), " %-20s %-20s %-20s", key_context_names[e->binding->ctx], e->binding->key->name, -- 1.4.2.g9a8e |