changeset 982:21aeff49d974

Oops. 100L fix to bitmapped text rendering.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Feb 2015 17:49:10 +0200
parents 25d653664874
children 98e749d990b0 0ba1ec9b8608
files src/dmtext_bm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmtext_bm.c	Fri Feb 27 16:30:56 2015 +0200
+++ b/src/dmtext_bm.c	Fri Feb 27 17:49:10 2015 +0200
@@ -21,7 +21,8 @@
         {
             if (blit == NULL)
                 blit = dmGetUnscaledBlitFunc(glyph->format, screen->format, mode);
-            else
+
+            if (blit != NULL)
             {
                 blit(glyph, xc, yc, screen);
                 xc += condensed ? glyph->w : font->width;