>From 2373aae770771f228a404dea330590dab58e7597 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 9 Jul 2013 15:22:42 -0400 Subject: [PATCH 2/3] Remove unneeded code --- src/ftcommon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ftcommon.c b/src/ftcommon.c index 8df4282..58bff34 100644 --- a/src/ftcommon.c +++ b/src/ftcommon.c @@ -800,7 +800,6 @@ case FT_PIXEL_MODE_GRAY: target->mode = gr_pixel_mode_gray; - target->grays = sbit->max_grays + 1; break; case FT_PIXEL_MODE_GRAY2: @@ -823,13 +822,11 @@ case FT_PIXEL_MODE_LCD: target->mode = handle->lcd_mode == 2 ? gr_pixel_mode_lcd : gr_pixel_mode_lcd2; - target->grays = sbit->max_grays + 1; break; case FT_PIXEL_MODE_LCD_V: target->mode = handle->lcd_mode == 4 ? gr_pixel_mode_lcdv : gr_pixel_mode_lcdv2; - target->grays = sbit->max_grays + 1; break; default: -- 1.8.3