replace "<=" by "==" in the comparison of unsigned variable.
This commit is contained in:
parent
df9094492d
commit
2d4f881acd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue