From 986367cf7d18935e5629623d7d0ae5420f604cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Thu, 2 Apr 2015 20:08:30 -0300 Subject: [PATCH] (gl_raster_font.c) Fix block (un)binding --- gfx/drivers_font/gl_raster_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_font/gl_raster_font.c b/gfx/drivers_font/gl_raster_font.c index b2188dd23e..2a9387127b 100644 --- a/gfx/drivers_font/gl_raster_font.c +++ b/gfx/drivers_font/gl_raster_font.c @@ -382,7 +382,7 @@ static void gl_raster_font_bind_block(void *data, void *userdata) gl_raster_t *font = (gl_raster_t*)data; gl_font_raster_block_t *block = (gl_font_raster_block_t*)userdata; - if (font && block) + if (font) font->block = block; }