From 66cf000efdd00927d66ce1113a5e5f13e0a02118 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 2 Aug 2016 10:23:04 +0200 Subject: [PATCH] Fixed broken test. --- libfreerdp/gdi/test/TestGdiBitBlt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/gdi/test/TestGdiBitBlt.c b/libfreerdp/gdi/test/TestGdiBitBlt.c index 485d1ab..7509a5f 100644 --- a/libfreerdp/gdi/test/TestGdiBitBlt.c +++ b/libfreerdp/gdi/test/TestGdiBitBlt.c @@ -595,7 +595,7 @@ int TestGdiBitBlt(int argc, char* argv[]) /* Skip 8bpp, only supported on remote end. */ for (y = 1; y < listSize; y++) { - if (test_gdi_BitBlt(formatList[x], formatList[y]) != 0) + if (!test_gdi_BitBlt(formatList[x], formatList[y])) { fprintf(stderr, "test_gdi_BitBlt(SrcFormat=%s, DstFormat=%s) failed!\n", GetColorFormatName(formatList[x]), -- 2.7.4