diff --git a/channels/console_board.c b/channels/console_board.c
index eafccc391e78edf09eca7d37d98235a9153e020b..fd286f29e96492859acb40da62321bed4ea99f4f 100644
--- a/channels/console_board.c
+++ b/channels/console_board.c
@@ -148,7 +148,7 @@ struct board *board_setup(SDL_Surface *screen, SDL_Rect *dest,
 	b->cur_col = 0;		/* current print column */
 	b->cur_line = 0;	/* last line displayed */
 
-	ast_log(LOG_WARNING, "Message board %dx%d@%d,%d successfully initialized\n",
+	if (0) ast_log(LOG_WARNING, "Message board %dx%d@%d,%d successfully initialized\n",
 		b->p_rect->w, b->p_rect->h,
 		b->p_rect->x, b->p_rect->y);
 	return b;
diff --git a/channels/console_gui.c b/channels/console_gui.c
index ebb2d5312d49be984f11e96c22377771e723c878..699e6b1fa4eba0bd94dd4bfb1e3daf2d73340616 100644
--- a/channels/console_gui.c
+++ b/channels/console_gui.c
@@ -75,7 +75,7 @@ struct keypad_entry {
 /* our representation of a displayed window. SDL can only do one main
  * window so we map everything within that one
  */
-struct display_window   {   
+struct display_window {   
 	SDL_Overlay	*bmp;
 	SDL_Rect	rect;	/* location of the window */
 };
@@ -444,6 +444,7 @@ static void handle_mousedown(struct video_desc *env, SDL_MouseButtonEvent button
 
 	case KEY_DIGIT_BACKGROUND:
 		break;
+
 	default:
 		ast_log(LOG_WARNING, "function not yet defined %i\n", index);
 	}
@@ -1027,7 +1028,7 @@ static int kp_match_area(const struct keypad_entry *e, int x, int y)
 		xp = ((x - e->x0)*dx + (y - e->y0)*dy)/l;
 		yp = (-(x - e->x0)*dy + (y - e->y0)*dx)/l;
 		if (e->type == KP_RECT) {
-			ret = (xp >= 0 && xp < l && yp >=0 && yp < l);
+			ret = (xp >= 0 && xp < l && yp >=0 && yp < e->h);
 		} else if (e->type == KP_CIRCLE) {
 			dx = xp*xp/(l*l) + yp*yp/(e->h*e->h);
 			ret = (dx < 1);
diff --git a/channels/console_video.h b/channels/console_video.h
index 79240e871fe7a614fe1d48b3373a6c9161475a20..fb1a488219eae25290b131cb858fdbd1411a8fff 100644
--- a/channels/console_video.h
+++ b/channels/console_video.h
@@ -138,6 +138,5 @@ int reset_board(struct board *b);
 
 /*! \brief deallocates memory space for a board */
 void delete_board(struct board *b);
-
 #endif /* CONSOLE_VIDEO_H */
 /* end of file */