summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Plugins
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-15 21:50:41 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-15 21:50:41 +0000
commita231f5dbb93c60da240a027f2afd8a4797069541 (patch)
treea6bc68fdc2f1a1fa0000e5cd63a5189f170c226b /command_line/CmdLine/Src/Plugins
parent35d488e972a9dd75ce3867c000405f128b79c615 (diff)
downloadMWCC-a231f5dbb93c60da240a027f2afd8a4797069541.tar.gz
MWCC-a231f5dbb93c60da240a027f2afd8a4797069541.zip
more cleanup
Diffstat (limited to '')
-rw-r--r--command_line/CmdLine/Src/Plugins/CLPlugins.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/command_line/CmdLine/Src/Plugins/CLPlugins.c b/command_line/CmdLine/Src/Plugins/CLPlugins.c
index 3342dae..dd9d902 100644
--- a/command_line/CmdLine/Src/Plugins/CLPlugins.c
+++ b/command_line/CmdLine/Src/Plugins/CLPlugins.c
@@ -400,7 +400,7 @@ static Boolean VerifyPanels(Plugin *pl) {
if (pl->cb->GetPanelList && pl->cb->GetPanelList(&pls) == 0) {
for (idx = 0; idx < pls->count; idx++) {
if (Prefs_FindPanel(pls->names[idx]) == NULL) {
- CLReportError(91, pls->names[idx]);
+ CLReportError(CLStr91, pls->names[idx]);
failed = 1;
}
}
@@ -460,7 +460,7 @@ void Plugin_Free(Plugin *pl) {
Boolean Plugin_VerifyPanels(Plugin *pl) {
if (!VerifyPanels(pl)) {
- CLReportError(92, Plugin_GetDropInName(pl));
+ CLReportError(CLStr92, Plugin_GetDropInName(pl));
return 0;
} else {
return 1;
@@ -511,14 +511,14 @@ int Plugins_Add(Plugin *pl) {
pl->cached_ascii_version = Plugin_GetVersionInfoASCII(pl);
if (!SupportedPlugin(pl, &failreason)) {
- CLReportError(88, dropinname, pl->cached_ascii_version, failreason);
+ CLReportError(CLStr88, dropinname, pl->cached_ascii_version, failreason);
return 0;
}
scan = &pluginlist;
while (*scan) {
if (Plugin_MatchesName(*scan, dropinname)) {
- CLReportError(89, dropinname);
+ CLReportError(CLStr89, dropinname);
return 0;
}
scan = &(*scan)->next;
@@ -528,14 +528,14 @@ int Plugins_Add(Plugin *pl) {
df = Plugin_GetDropInFlags(pl);
if (!(df->dropinflags & dropInExecutableTool) && !SendInitOrTermRequest(pl, 1)) {
- CLReportError(3, dropinname);
+ CLReportError(CLStr3, dropinname);
return 0;
}
if (df->dropintype == CWDROPINCOMPILERTYPE && df->dropinflags & 0x17C000)
- CLReportError(4, "compiler", dropinname);
+ CLReportError(CLStr4, "compiler", dropinname);
if (df->dropintype == CWDROPINLINKERTYPE && df->dropinflags & 0x5FE4000)
- CLReportError(4, "linker", dropinname);
+ CLReportError(CLStr4, "linker", dropinname);
if (clState.pluginDebug) {
vislang = df->edit_language ? df->edit_language : CWFOURCHAR('-','-','-','-');
@@ -816,11 +816,11 @@ Plugin *Plugins_GetParserForPlugin(Plugin *list, OSType style, int numPlugins, C
if (pick && !allpanels) {
int idx;
- CLReport(5);
+ CLReport(CLStr5);
for (idx = 0; idx < numPanels; idx++) {
if (!supports[idx])
- CLReport(6, panelNames[idx]);
+ CLReport(CLStr6, panelNames[idx]);
}
}