Permalink
Browse files

reduce initial line-number columns to 2 (it auto expands)

  • Loading branch information...
hoijui committed Dec 18, 2017
1 parent 39ca226 commit 665fca6d70e9dfd1af101e7ea85677bc959e9906
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/linenum.c
View
@@ -32,7 +32,7 @@ static gint calculate_min_number_window_width(GtkWidget *widget)
{
PangoLayout *layout;
gchar *str;
gint width, col = 4;
gint width, col = 2;
str = g_strnfill(col, 0x20);
layout = gtk_widget_create_pango_layout(widget, str);

0 comments on commit 665fca6

Please sign in to comment.