diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-19 20:42:40 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-01-19 20:43:09 -0800 |
commit | ef5a526f1b51b76b0f753e0936c80743a7f4463d (patch) | |
tree | 239d6f086c42ff8ce42b85db6e8385059719f474 /src | |
parent | 97bf923892a781b71442562510c9ef8492eb1dfe (diff) | |
download | emacs-ef5a526f1b51b76b0f753e0936c80743a7f4463d.tar.gz emacs-ef5a526f1b51b76b0f753e0936c80743a7f4463d.tar.bz2 emacs-ef5a526f1b51b76b0f753e0936c80743a7f4463d.zip |
Correct an old fix for GTK font selection
* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/gtkutil.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ad7780fbca7..b8528c27528 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2015-01-20 Paul Eggert <eggert@cs.ucla.edu> + Correct an old fix for GTK font selection + * gtkutil.c (xg_get_font): Fix off-by-2 typo. + Fixes: bug#3228 + Fix minor bugs with printing null bytes * minibuf.c (read_minibuf_noninteractive): * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: diff --git a/src/gtkutil.c b/src/gtkutil.c index 694278a2b4c..da05742b0c6 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -2093,7 +2093,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); |