Changes to qemacs/html2png.c
Charlie Gordon <[email protected]> Fri, 13 May 2005 06:05:30 -0400
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Index: qemacs/html2png.c
diff -u qemacs/html2png.c:1.2 qemacs/html2png.c:1.3
--- qemacs/html2png.c:1.2 Wed May 11 15:12:14 2005
+++ qemacs/html2png.c Fri May 13 10:05:24 2005
@@ -73,6 +73,17 @@
fprintf(stderr, "%s:%d: %s\n", filename, line_num, msg);
}
+void put_error(EditState *s, const char *fmt, ...)
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+ vfprintf(stderr, fmt, ap);
+ va_end(ap);
+ putc('\n', stderr);
+}
+
+
/* dummy functions */
int eb_nextc(EditBuffer *b, int offset, int *next_ptr)
{
@@ -285,6 +296,8 @@
draw_text(screen, font, screen->width / 2, screen->height / 2,
buf, len, QERGB(0x00, 0x00, 0x00));
+
+ release_font(screen, font);
}
#endif