Changes to qemacs/hex.c

Charlie Gordon <[email protected]> Fri, 13 May 2005 06:05:29 -0400
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
Index: qemacs/hex.c
diff -u qemacs/hex.c:1.4 qemacs/hex.c:1.5
--- qemacs/hex.c:1.4	Wed May 11 15:12:14 2005
+++ qemacs/hex.c	Fri May 13 10:05:24 2005
@@ -144,6 +144,7 @@
     get_style(s, &style, s->default_style);
     font = select_font(s->screen, style.font_style, style.font_size);
     num_width = glyph_width(s->screen, font, '0');
+    release_font(s->screen, font);
 
     s->disp_width = (s->screen->width / num_width) - 10;
     s->hex_mode = 0;