diff options
Diffstat (limited to 'extra/locale/gen_wctype.c')
-rw-r--r-- | extra/locale/gen_wctype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c index dca5cff0d..68fb26eec 100644 --- a/extra/locale/gen_wctype.c +++ b/extra/locale/gen_wctype.c @@ -736,7 +736,7 @@ int main(int argc, char **argv) printf("done\n"); } - if (1) { + if (built) { FILE *fp; if (!(fp = fopen("wctables.h", "w"))) { @@ -771,7 +771,7 @@ int main(int argc, char **argv) fclose(fp); } - return EXIT_SUCCESS; + return !built; } size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl) |