more '\n' business
From /dev/humancontroller.
This commit is contained in:
1 parent
4cfbbe506c
commit
945f01d4af
12 files changed
+59
-59
No files matched your search
@@ -1158,7 +1158,7 @@ float ReadSignedFloat(script_t *script)
|
||||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing float value\n");
|
||||
ScriptError(script, "Missing float value");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1167,7 +1167,7 @@ float ReadSignedFloat(script_t *script)
|
||||
|
||||
if (token.type != TT_NUMBER)
|
||||
{
|
||||
ScriptError(script, "expected float value, found %s\n", token.string);
|
||||
ScriptError(script, "expected float value, found %s", token.string);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1189,7 +1189,7 @@ signed long int ReadSignedInt(script_t *script)
|
||||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing integer value\n");
|
||||
ScriptError(script, "Missing integer value");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1198,7 +1198,7 @@ signed long int ReadSignedInt(script_t *script)
|
||||
|
||||
if (token.type != TT_NUMBER || token.subtype == TT_FLOAT)
|
||||
{
|
||||
ScriptError(script, "expected integer value, found %s\n", token.string);
|
||||
ScriptError(script, "expected integer value, found %s", token.string);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user