shell32/tests: Avoid preprocessor check to ensure it compiles

André Hentschel nerv at dawncrow.de
Wed Jan 22 15:32:31 CST 2014


---
 dlls/shell32/tests/string.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/string.c b/dlls/shell32/tests/string.c
index 1d55ecf..81f4754 100644
--- a/dlls/shell32/tests/string.c
+++ b/dlls/shell32/tests/string.c
@@ -87,13 +87,14 @@ static void test_StrRetToStringNW(void)
        "STRRET_OFFSET: dup failed, ret=%d\n", ret);
 
     /* The next test crashes on W2K, WinXP and W2K3, so we don't test. */
-#if 0
+if (0)
+{
     /* Invalid dest - should return FALSE, except NT4 does not, so we don't check. */
     strret.uType = STRRET_WSTR;
     U(strret).pOleStr = CoDupStrW("Test");
     pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
     trace("NULL dest: ret=%d\n", ret);
-#endif
+}
 }
 
 START_TEST(string)
-- 
1.8.1.2





More information about the wine-patches mailing list