diff options
Diffstat (limited to 'core/src/fxge')
-rw-r--r-- | core/src/fxge/agg/agg23/fx_agg_driver.cpp | 2 | ||||
-rw-r--r-- | core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ttload.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxge/agg/agg23/fx_agg_driver.cpp b/core/src/fxge/agg/agg23/fx_agg_driver.cpp index e0fd065532..c3f42bf9f9 100644 --- a/core/src/fxge/agg/agg23/fx_agg_driver.cpp +++ b/core/src/fxge/agg/agg23/fx_agg_driver.cpp @@ -616,7 +616,6 @@ public: int col_start = span_left < clip_left ? clip_left - span_left : 0; int col_end = (span_left + span_len) < clip_right ? span_len : (clip_right - span_left); dest_scan += col_start; - Bpp; if (dest_extra_alpha_scan) { for (int col = col_start; col < col_end; col ++) { int src_alpha; @@ -884,7 +883,6 @@ public: int col_start = span_left < clip_left ? clip_left - span_left : 0; int col_end = (span_left + span_len) < clip_right ? span_len : (clip_right - span_left); dest_scan += col_start * 4; - Bpp; if (dest_extra_alpha_scan) { for (int col = col_start; col < col_end; col ++) { int src_alpha; diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ttload.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ttload.c index 38b7559e13..95eb2bb14c 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ttload.c +++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ttload.c @@ -58,7 +58,7 @@ TT_Table temp = NULL; if (!entry) return NULL; - for (first; first < limit; first++){ + for (; first < limit; first++){ if (entry->Offset + entry->Length <= first->Offset){ if (!temp || first->Offset < temp->Offset){ temp = first; |