diff options
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/CLMain.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/command_line/CmdLine/Src/CLMain.c b/command_line/CmdLine/Src/CLMain.c index ae678fa..ef55b55 100644 --- a/command_line/CmdLine/Src/CLMain.c +++ b/command_line/CmdLine/Src/CLMain.c @@ -253,7 +253,7 @@ int Main_Initialize(int argc, char **argv) { } if (OS_FindProgram(exename, &clState.programSpec)) - CLReportError(2, exename); + CLReportError(CLStr2, exename); Plugins_Init(); if (!RegisterStaticCmdLinePlugin()) @@ -387,7 +387,7 @@ static int Main_ResolveProject(void) { endTime = LMGetTicks(); if (optsCmdLine.timeWorking) { - CLReport(24, (endTime - startTime) / 60.0, "resolve", "", "project", ""); + CLReport(CLStr24, (endTime - startTime) / 60.0, "resolve", "", "project", ""); } return 0; @@ -399,7 +399,7 @@ static int UpdatePCmdLineFromVersion(PCmdLine *given, PCmdLine *target) { *target = *given; if (clState.pluginDebug && version < 0x1002 && !warned) { - CLReportWarning(104, "CmdLine Panel"); + CLReportWarning(CLStr104, "CmdLine Panel"); warned = 1; } @@ -414,7 +414,7 @@ static int UpdatePCmdLineFromVersion(PCmdLine *given, PCmdLine *target) { } if (version < 0x1000 || version > 0x1002) { - CLReportError(104, "CmdLine Panel"); + CLReportError(CLStr104, "CmdLine Panel"); return 0; } else { target->version = 0x1002; @@ -427,7 +427,7 @@ static int UpdatePCmdLineEnvirFromVersion(PCmdLineEnvir *given, PCmdLineEnvir *t *target = *given; if ((clState.pluginDebug && version < 0x1000) || version > 0x1000) { - CLReportError(104, "CmdLine Environment"); + CLReportError(CLStr104, "CmdLine Environment"); return 0; } else { target->version = 0x1000; @@ -441,7 +441,7 @@ static int UpdatePCmdLineCompilerFromVersion(PCmdLineCompiler *given, PCmdLineCo *target = *given; if (clState.pluginDebug && version < 0x1005 && !warned) { - CLReportWarning(104, "CmdLine Compiler Panel"); + CLReportWarning(CLStr104, "CmdLine Compiler Panel"); warned = 1; } @@ -468,7 +468,7 @@ static int UpdatePCmdLineCompilerFromVersion(PCmdLineCompiler *given, PCmdLineCo } if (version <= 0x1000 || version > 0x1005) { - CLReportError(104, "CmdLine Compiler Panel"); + CLReportError(CLStr104, "CmdLine Compiler Panel"); return 0; } else { target->version = 0x1005; @@ -482,7 +482,7 @@ static int UpdatePCmdLineLinkerFromVersion(PCmdLineLinker *given, PCmdLineLinker *target = *given; if (clState.pluginDebug && version < 0x1002 && !warned) { - CLReportWarning(104, "CmdLine Linker Panel"); + CLReportWarning(CLStr104, "CmdLine Linker Panel"); warned = 1; } @@ -499,7 +499,7 @@ static int UpdatePCmdLineLinkerFromVersion(PCmdLineLinker *given, PCmdLineLinker } if (version < 0x1000 || version > 0x1002) { - CLReportError(104, "CmdLine Linker Panel"); + CLReportError(CLStr104, "CmdLine Linker Panel"); return 0; } else { target->version = 0x1002; @@ -518,7 +518,7 @@ static int UpdatePrefPanels(const char *name) { return 0; } } else { - CLReportError(91, "CmdLine Panel"); + CLReportError(CLStr91, "CmdLine Panel"); return 0; } } @@ -530,7 +530,7 @@ static int UpdatePrefPanels(const char *name) { return 0; } } else { - CLReportError(91, "CmdLine Environment"); + CLReportError(CLStr91, "CmdLine Environment"); return 0; } } @@ -542,7 +542,7 @@ static int UpdatePrefPanels(const char *name) { return 0; } } else { - CLReportError(91, "CmdLine Compiler Panel"); + CLReportError(CLStr91, "CmdLine Compiler Panel"); return 0; } } @@ -554,7 +554,7 @@ static int UpdatePrefPanels(const char *name) { return 0; } } else { - CLReportError(91, "CmdLine Linker Panel"); + CLReportError(CLStr91, "CmdLine Linker Panel"); return 0; } } |