freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 0dbfd83 1/2: Thinko.


From: Alexei Podtelezhnikov
Subject: [freetype2-demos] master 0dbfd83 1/2: Thinko.
Date: Fri, 23 Oct 2020 00:14:30 -0400 (EDT)

branch: master
commit 0dbfd8314db8e0e577603d3376ae2beabae510d9
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    Thinko.
---
 graph/grfill.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graph/grfill.c b/graph/grfill.c
index 517ee4a..9ffeb9f 100644
--- a/graph/grfill.c
+++ b/graph/grfill.c
@@ -119,7 +119,7 @@ gr_fill_hline_32( unsigned char*  _line,
 {
   uint32_t*  line = (uint32_t*)_line + x;
 
-  for (; width > 0; width--, line += 4)
+  for ( ; width > 0; width-- )
     *line++ = color.value;
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]