From f5688b6cc6fa95168f2a9f06db0f015908b882df Mon Sep 17 00:00:00 2001 From: QC Date: Mon, 12 Jan 2015 20:50:39 +0100 Subject: [PATCH] Fix textbox test. --- test/textbox-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/textbox-test.c b/test/textbox-test.c index fdeac0c3..e230bf9c 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -48,7 +48,8 @@ int main ( int argc, char **argv ) color_get ( display, config.menu_bc ), color_get ( display, config.menu_bg ) ); TASSERT( mw != None ); - + // Set alternate row to normal row. + config.menu_bg_alt = config.menu_bg; textbox_setup ( config.menu_bg, config.menu_bg_alt, config.menu_fg, config.menu_hlbg, config.menu_hlfg ); textbox *box = textbox_create(mw , TB_EDITABLE|TB_AUTOWIDTH|TB_AUTOHEIGHT, 0,0, -1, -1, NORMAL, "test");