summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-01-12 20:50:39 +0100
committerQC <qball@gmpclient.org>2015-01-12 20:50:39 +0100
commitf5688b6cc6fa95168f2a9f06db0f015908b882df (patch)
treee2b9306de5aa4d7dcdbce5d17f814333e5014406 /test
parent6dc6269fe70fff24540ecbf05357d0b41960f1a1 (diff)
Fix textbox test.
Diffstat (limited to 'test')
-rw-r--r--test/textbox-test.c3
1 files changed, 2 insertions, 1 deletions
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");