mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-08 16:32:45 +00:00
fixed the incorrect backslash insertion on empty edit lines in the dedicated server consoles
This commit is contained in:
parent
8b5728559b
commit
4c98469f3f
1 changed files with 1 additions and 1 deletions
|
@ -2868,7 +2868,7 @@ void Field_AutoComplete( field_t *field, qbool insertBackslash )
|
||||||
field->cursor = max;
|
field->cursor = max;
|
||||||
} else {
|
} else {
|
||||||
// the input line is pure whitespace so we rewrite it
|
// the input line is pure whitespace so we rewrite it
|
||||||
Q_strncpyz ( field->buffer, "\\", sizeof( field->buffer ) );
|
Q_strncpyz ( field->buffer, insertBackslash ? "\\" : "", sizeof( field->buffer ) );
|
||||||
field->cursor = strlen( field->buffer );
|
field->cursor = strlen( field->buffer );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue