projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196386f
)
Fixed test loop.
author
Armin Novak
<armin.novak@thincast.com>
Thu, 18 Aug 2016 08:03:28 +0000
(10:03 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Thu, 6 Oct 2016 11:43:11 +0000
(13:43 +0200)
libfreerdp/gdi/test/TestGdiEllipse.c
patch
|
blob
|
history
diff --git
a/libfreerdp/gdi/test/TestGdiEllipse.c
b/libfreerdp/gdi/test/TestGdiEllipse.c
index
39baf51
..
cb2b9a8
100644
(file)
--- a/
libfreerdp/gdi/test/TestGdiEllipse.c
+++ b/
libfreerdp/gdi/test/TestGdiEllipse.c
@@
-80,7
+80,7
@@
static const BYTE ellipse_case_3[256] =
int TestGdiEllipse(int argc, char* argv[])
{
int rc = -1;
- UINT32 i;
+ UINT32 i
, j
;
HGDI_DC hdc;
HGDI_PEN pen;
HGDI_BITMAP hBmp;
@@
-116,8
+116,8
@@
int TestGdiEllipse(int argc, char* argv[])
gdiPalette* hPalette = &g;
g.format = format;
- for (
i = 0; i < 256; i
++)
- g.palette[i] = GetColor(format,
i, i, i
, 0xFF);
+ for (
j = 0; j < 256; j
++)
+ g.palette[i] = GetColor(format,
j, j, j
, 0xFF);
rc = -1;