From ce6091da26e2bf62d505a0ad093afa4a7d94f7b4 Mon Sep 17 00:00:00 2001 From: fliep Date: Tue, 19 May 2009 20:53:26 +0000 Subject: [PATCH] Turned off line wrapping on text grids. They don't need it, since they're always the correct size, and it was causing them to wrap sometimes when the width of the text was exactly the width of the window. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 2f3c602..aa894c6 100644 --- a/src/window.c +++ b/src/window.c @@ -417,7 +417,7 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, { GtkWidget *textview = gtk_text_view_new(); - gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW(textview), GTK_WRAP_CHAR ); + gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW(textview), GTK_WRAP_NONE ); gtk_text_view_set_editable( GTK_TEXT_VIEW(textview), FALSE ); gtk_widget_show(textview); -- 2.30.2