Backport: correct old fix for GTK font selection

* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
This commit is contained in:
Paul Eggert 2015-01-20 22:05:31 -08:00
parent 87309740ca
commit 4c09e3aef9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2015-01-21 Paul Eggert <eggert@cs.ucla.edu>
Backport: correct old fix for GTK font selection
* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
2015-01-21 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531).

View file

@ -2103,7 +2103,7 @@ xg_get_font (struct frame *f, const char *default_name)
args[8] = QCtype;
args[9] = Qxft;
font = Ffont_spec (8, args);
font = Ffont_spec (10, args);
pango_font_description_free (desc);
dupstring (&x_last_font_name, name);