aboutsummaryrefslogtreecommitdiff
path: root/src/textview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textview.c')
-rw-r--r--src/textview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textview.c b/src/textview.c
index 97234ac9..260f7791 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -1606,8 +1606,9 @@ void textview_set_font(TextView *textview, const gchar *codeset)
}
}
- gtk_text_view_set_pixels_above_lines(text, prefs_common.line_space / 2);
+ gtk_text_view_set_pixels_above_lines(text, prefs_common.line_space - prefs_common.line_space / 2);
gtk_text_view_set_pixels_below_lines(text, prefs_common.line_space / 2);
+ gtk_text_view_set_pixels_inside_wrap(text, prefs_common.line_space);
}
void textview_set_position(TextView *textview, gint pos)