From 86bba162b5732a33387ac6706bb2f25f8c966325 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 21 Jan 2015 12:30:42 +0100 Subject: Fix tst_wcscpy.c test. --- localedata/tests-mbwc/tst_wcscpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localedata/tests-mbwc') diff --git a/localedata/tests-mbwc/tst_wcscpy.c b/localedata/tests-mbwc/tst_wcscpy.c index d5705a55dc..a30a6e5f78 100644 --- a/localedata/tests-mbwc/tst_wcscpy.c +++ b/localedata/tests-mbwc/tst_wcscpy.c @@ -41,7 +41,7 @@ tst_wcscpy (FILE * fp, int debug_flg) ws_ex = TST_EXPECT (wcscpy).ws; for (err = 0, i = 0; - (ws1[i] != 0L || ws_ex[i] != 0L) && i < WCSSIZE; i++) + i < WCSSIZE && (ws1[i] != 0L || ws_ex[i] != 0L); i++) { if (debug_flg) { -- cgit v1.2.3-65-gdbad