Remove unused variables

This commit is contained in:
Qball Cow 2014-05-26 09:21:39 +02:00
parent c400c44ec1
commit e63de1220a
2 changed files with 0 additions and 3 deletions

View File

@ -847,7 +847,6 @@ void menu_draw ( textbox **boxes,
{
char *text = filtered[i + offset];
TextBoxFontType tbft = ( i + offset ) == selected ? HIGHLIGHT : NORMAL;
char *font = config.menu_font;
// Check for active
if ( text[0] == '*' )
{

View File

@ -73,8 +73,6 @@ textbox* textbox_create ( Window parent,
tb->w = MAX ( 1, w );
tb->h = MAX ( 1, h );
XColor color;
Colormap map = DefaultColormap ( display, DefaultScreen ( display ) );
unsigned int cp = ( tbft == NORMAL ) ? color_bg.pixel : color_hlbg.pixel;
tb->window = XCreateSimpleWindow ( display, tb->parent, tb->x, tb->y, tb->w, tb->h, 0, None, cp );