mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-29 17:41:00 +00:00
Nothing really important
This commit is contained in:
parent
a006a341cb
commit
02e48af08f
1 changed files with 7 additions and 6 deletions
|
@ -404,9 +404,10 @@ no_lf:
|
||||||
if (clipText) {
|
if (clipText) {
|
||||||
textCopied = malloc(GlobalSize(th)+1);
|
textCopied = malloc(GlobalSize(th)+1);
|
||||||
strcpy(textCopied, clipText);
|
strcpy(textCopied, clipText);
|
||||||
/* Substitutes a NULL for every token */strtok(textCopied, "\n\r\b");
|
/* Substitutes a NULL for every token */
|
||||||
|
strtok(textCopied, "\n\r\b");
|
||||||
i = strlen(textCopied);
|
i = strlen(textCopied);
|
||||||
if (i + strlen(key_lines[edit_line]) >= MAXCMDLINE-1)
|
if (i + strlen(key_lines[edit_line]) > MAXCMDLINE-1)
|
||||||
i = MAXCMDLINE-1 - strlen(key_lines[edit_line]);
|
i = MAXCMDLINE-1 - strlen(key_lines[edit_line]);
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
{ // insert the string
|
{ // insert the string
|
||||||
|
@ -752,12 +753,12 @@ void Key_Init (void)
|
||||||
//
|
//
|
||||||
// register our functions
|
// register our functions
|
||||||
//
|
//
|
||||||
Cmd_AddCommand ("bind",Key_Bind_f);
|
Cmd_AddCommand ("bind", Key_Bind_f);
|
||||||
Cmd_AddCommand ("unbind",Key_Unbind_f);
|
Cmd_AddCommand ("unbind", Key_Unbind_f);
|
||||||
Cmd_AddCommand ("unbindall",Key_Unbindall_f);
|
Cmd_AddCommand ("unbindall", Key_Unbindall_f);
|
||||||
|
|
||||||
cl_chatmode = Cvar_Get ("cl_chatmode", "2", 0,
|
cl_chatmode = Cvar_Get ("cl_chatmode", "2", 0,
|
||||||
"Controls when console text will be treated as a chat message"
|
"Controls when console text will be treated as a chat message\n"
|
||||||
"0 - never, 1 - always, 2 - smart");
|
"0 - never, 1 - always, 2 - smart");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue