diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-15 21:50:41 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-15 21:50:41 +0000 |
commit | a231f5dbb93c60da240a027f2afd8a4797069541 (patch) | |
tree | a6bc68fdc2f1a1fa0000e5cd63a5189f170c226b /command_line/CmdLine/Src/Envir | |
parent | 35d488e972a9dd75ce3867c000405f128b79c615 (diff) | |
download | MWCC-a231f5dbb93c60da240a027f2afd8a4797069541.tar.gz MWCC-a231f5dbb93c60da240a027f2afd8a4797069541.zip |
more cleanup
Diffstat (limited to 'command_line/CmdLine/Src/Envir')
-rw-r--r-- | command_line/CmdLine/Src/Envir/CLErrors.c | 4 | ||||
-rw-r--r-- | command_line/CmdLine/Src/Envir/CLIO.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/command_line/CmdLine/Src/Envir/CLErrors.c b/command_line/CmdLine/Src/Envir/CLErrors.c index 591e30d..06d5b29 100644 --- a/command_line/CmdLine/Src/Envir/CLErrors.c +++ b/command_line/CmdLine/Src/Envir/CLErrors.c @@ -59,7 +59,7 @@ void CLReportOSError(SInt16 errid, int err, ...) { va_end(va); oserr = OS_GetErrText(err); - CLReportError(99, txt, oserr, err); + CLReportError(CLStr99, txt, oserr, err); if (txt != mybuf) free(txt); @@ -77,7 +77,7 @@ void CLReportCError(SInt16 errid, int err_no, ...) { va_end(va); serr = strerror(err_no); - CLReportError(100, txt, serr, err_no); + CLReportError(CLStr100, txt, serr, err_no); if (txt != mybuf) free(txt); diff --git a/command_line/CmdLine/Src/Envir/CLIO.c b/command_line/CmdLine/Src/Envir/CLIO.c index 1d6eaad..7be38a0 100644 --- a/command_line/CmdLine/Src/Envir/CLIO.c +++ b/command_line/CmdLine/Src/Envir/CLIO.c @@ -240,7 +240,7 @@ void TermWorking(void) { static void ProgressFunction(const char *functionname) { if (optsCmdLine.verbose) - CLReport(7, functionname); + CLReport(CLStr7, functionname); } Boolean CheckForUserBreak(void) { @@ -881,10 +881,10 @@ SInt16 CLStyledMessageDispatch(Plugin *plugin, MessageRef *ref, SInt32 errorNumb if (++clState.countErrors >= optsCmdLine.maxErrors) { clState.withholdErrors = 1; if (!optsCompiler.noFail) { - CLReport(70); + CLReport(CLStr70); clState.userBreak = 1; } else { - CLReport(71); + CLReport(CLStr71); } } } @@ -892,7 +892,7 @@ SInt16 CLStyledMessageDispatch(Plugin *plugin, MessageRef *ref, SInt32 errorNumb if (msgType == Msg_Warning && optsCmdLine.maxWarnings) { if (++clState.countWarnings >= optsCmdLine.maxWarnings) { clState.withholdWarnings = 1; - CLReport(72); + CLReport(CLStr72); } } |