replace "<=" by "==" in the comparison of unsigned variable.

This commit is contained in:
suzuki toshiya 2017-09-11 19:18:34 +09:00
parent df9094492d
commit 2d4f881acd
1 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@
val <<= 1;
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
left = writer->width;
@ -174,7 +174,7 @@
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
left = writer->width;
@ -239,7 +239,7 @@
mask >>= 1;
if ( --left <= 0 )
if ( --left == 0 )
{
cur[0] = (FT_Byte)c;
c = 0;