Skip to content

Commit 08a7396

Browse files
author
Pavel Kovalenko
committed
Fix mixed up arguments in call to xrSASH::OnConsoleInvalidSyntax.
1 parent d00065b commit 08a7396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xrEngine/xr_ioc_cmd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public :
5252
Msg("~ Invalid syntax in call to '%s'",cName);
5353
Msg("~ Valid arguments: %s", I);
5454

55-
g_SASH.OnConsoleInvalidSyntax("~ Invalid syntax in call to '%s'",cName, false);
56-
g_SASH.OnConsoleInvalidSyntax("~ Valid arguments: %s", I, true);
55+
g_SASH.OnConsoleInvalidSyntax(false, "~ Invalid syntax in call to '%s'", cName);
56+
g_SASH.OnConsoleInvalidSyntax(true, "~ Valid arguments: %s", I);
5757
}
5858
virtual void Execute (LPCSTR args) = 0;
5959
virtual void Status (TStatus& S) { S[0]=0; }

0 commit comments

Comments
 (0)