Fix silly column paste.
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Mon, 1 Nov 2010 01:48:43 +0000 (01:48 +0000)
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Mon, 1 Nov 2010 01:48:43 +0000 (01:48 +0000)
source/blender/blenfont/intern/blf_glyph.c

index 4ac3397cb226e053f0c5f5a713c6b0d40a991159..2c0b833297e3039090680372df9e811f64b99e37 100644 (file)
@@ -218,7 +218,7 @@ GlyphBLF *blf_glyph_add(FontBLF *font, FT_UInt index, unsigned int c)
 
                /* Convert result from 1 bit per pixel to 8 bit per pixel */
                /* Accum errors for later, fine if not interested beyond "ok vs any error" */
-               err += FT_Bitmap_New(&tempbitmap);
+               FT_Bitmap_New(&tempbitmap);
                err += FT_Bitmap_Convert(global_ft_lib, &slot->bitmap, &tempbitmap, 1); /* Does Blender use Pitch 1 always? It works so far */
                err += FT_Bitmap_Copy(global_ft_lib, &tempbitmap, &slot->bitmap);
                err += FT_Bitmap_Done(global_ft_lib, &tempbitmap);