aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tests-mbwc')
-rw-r--r--localedata/tests-mbwc/tst_wcscpy.c2
1 files changed, 1 insertions, 1 deletions
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)
{