mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
Touch up previous "s"[i<2] patch
The real equivalence is between the original "s" + (i<2) and &"s"[i<2].
This commit is contained in:
2
tccpe.c
2
tccpe.c
@@ -965,7 +965,7 @@ static void pe_build_exports(struct pe_info *pe)
|
||||
} else {
|
||||
fprintf(op, "LIBRARY %s\n\nEXPORTS\n", dllname);
|
||||
if (pe->s1->verbose)
|
||||
printf("<- %s (%d symbol%s)\n", buf, sym_count, "s"[sym_count < 2]);
|
||||
printf("<- %s (%d symbol%s)\n", buf, sym_count, &"s"[sym_count < 2]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -390,7 +390,7 @@ usage:
|
||||
}
|
||||
|
||||
if (v)
|
||||
printf("<- %s (%d symbol%s)\n", outfile, i, "s"[i<2]);
|
||||
printf("<- %s (%d symbol%s)\n", outfile, i, &"s"[i<2]);
|
||||
|
||||
ret = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user