[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 3fc218e: * graph/grfill.c (grFillRect): Small b
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2-demos] master 3fc218e: * graph/grfill.c (grFillRect): Small bug. |
Date: |
Tue, 26 May 2020 00:09:52 -0400 (EDT) |
branch: master
commit 3fc218e94916ea39918e79f73eabe0a8fd2e97eb
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
* graph/grfill.c (grFillRect): Small bug.
---
ChangeLog | 4 ++++
graph/grfill.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 038aff1..acaf39a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-05-25 Alexei Podtelezhnikov <address@hidden>
+
+ * graph/grfill.c (grFillRect): Small bug.
+
2020-05-21 Alexei Podtelezhnikov <address@hidden>
[graph] Implement resizable GDI windows.
diff --git a/graph/grfill.c b/graph/grfill.c
index 19056a8..2ca6e57 100644
--- a/graph/grfill.c
+++ b/graph/grfill.c
@@ -228,7 +228,7 @@ grFillRect( grBitmap* target,
if ( x < 0 )
{
- width -= x;
+ width += x;
x = 0;
}
delta = x + width - target->width;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 3fc218e: * graph/grfill.c (grFillRect): Small bug.,
Alexei Podtelezhnikov <=