summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Envir
diff options
context:
space:
mode:
Diffstat (limited to 'command_line/CmdLine/Src/Envir')
-rw-r--r--command_line/CmdLine/Src/Envir/CLErrors.c4
-rw-r--r--command_line/CmdLine/Src/Envir/CLIO.c8
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);
}
}