Mercurial > hg > dmlib
changeset 875:8aa0d640af74
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Feb 2015 17:55:38 +0200 |
parents | 9d874c1c4a58 |
children | 8d909205b0fd |
files | src/dmtext_bm.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmtext_bm.c Wed Feb 04 17:49:04 2015 +0200 +++ b/src/dmtext_bm.c Wed Feb 04 17:55:38 2015 +0200 @@ -21,10 +21,11 @@ { if (blit == NULL) blit = dmGetUnscaledBlitFunc(glyph->format, screen->format, mode); - - blit(glyph, xc, yc, screen); - - xc += condensed ? glyph->w : font->width; + else + { + blit(glyph, xc, yc, screen); + xc += condensed ? glyph->w : font->width; + } } else xc += font->width;