aboutsummaryrefslogtreecommitdiff
path: root/images.c
diff options
context:
space:
mode:
Diffstat (limited to 'images.c')
-rw-r--r--images.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/images.c b/images.c
index 1ed80d3..e8ca33f 100644
--- a/images.c
+++ b/images.c
@@ -38,6 +38,11 @@ Pixmap chars;
char charmap[] = " 0123456789ABCDEF-x,.ro+";
int char_to_x[256];
+void free_pixmaps(void) {
+ if(face) XFreePixmap(display, face);
+ if(chars) XFreePixmap(display, chars);
+}
+
void load_pixmaps(void) {
int i, c;