mirror of https://github.com/ZDoom/gzdoom-gles.git
- removed 2 redundant string copies in CCMD code.
This commit is contained in:
parent
3db56651f4
commit
3113c6b69b
|
@ -643,8 +643,7 @@ CCMD (error)
|
|||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
char *textcopy = copystring (argv[1]);
|
||||
I_Error ("%s", textcopy);
|
||||
I_Error ("%s", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -656,8 +655,7 @@ UNSAFE_CCMD (error_fatal)
|
|||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
char *textcopy = copystring (argv[1]);
|
||||
I_FatalError ("%s", textcopy);
|
||||
I_FatalError ("%s", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue