diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 15:44:21 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 15:44:21 +0200 |
commit | 36470979d9f3518217fc26987558dafb3ab36f5c (patch) | |
tree | 5ebeb5b306faafca9c52f1696f4be9851b4fa9b1 /src/screen.c | |
parent | 9526f180e6f55654c99bd8d66c71612a32b0fb4e (diff) | |
download | mpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.gz mpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.xz mpd-36470979d9f3518217fc26987558dafb3ab36f5c.zip |
removed the debugging function D()
gdb is for debugging. We don't need D() calls littered all over.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 3cfc813d9..d0a3c7467 100644 --- a/src/screen.c +++ b/src/screen.c @@ -101,7 +101,6 @@ screen_next_mode(mpdclient_t *c, int offset) else if (next>=max) next = 0; - D("current mode: %d:%d next:%d\n", current, max, next); sf = screen_lookup_name(options.screen_list[next]); if (sf != NULL) screen_switch(sf, c); @@ -365,7 +364,6 @@ screen_exit(void) void screen_resize(void) { - D("Resize rows %d->%d, cols %d->%d\n",screen.rows,LINES,screen.cols,COLS); if (COLS<SCREEN_MIN_COLS || LINES<SCREEN_MIN_ROWS) { screen_exit(); fprintf(stderr, _("Error: Screen to small!\n")); @@ -527,7 +525,6 @@ screen_paint(mpdclient_t *c) if (mode_fn->get_title != NULL) title = mode_fn->get_title(screen.buf, screen.buf_size); - D("screen_paint(%s)\n", title); /* paint the title/header window */ if( title ) paint_top_window(title, c, 1); @@ -642,7 +639,6 @@ screen_get_mouse_event(mpdclient_t *c, unsigned long *bstate, int *row) /* retreive the mouse event from ncurses */ getmouse(&event); - D("mouse: id=%d y=%d,x=%d,z=%d\n",event.id,event.y,event.x,event.z); /* calculate the selected row in the list window */ *row = event.y - screen.top_window.rows; /* copy button state bits */ |