Slap in some Ctrl+Insert (copy) support too while I'm at it.
Also added a comment but you didn't see that.
This commit is contained in:
parent
9d701d722e
commit
bc88def225
|
@ -10451,8 +10451,9 @@ static void M_HandleConnectIP(INT32 choice)
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case KEY_INS:
|
||||||
case 'c':
|
case 'c':
|
||||||
case 'C': // ctrl+c, copying
|
case 'C': // ctrl+c, ctrl+insert, copying
|
||||||
I_ClipboardCopy(setupm_ip, l);
|
I_ClipboardCopy(setupm_ip, l);
|
||||||
S_StartSound(NULL,sfx_menu1); // Tails
|
S_StartSound(NULL,sfx_menu1); // Tails
|
||||||
break;
|
break;
|
||||||
|
@ -10472,7 +10473,7 @@ static void M_HandleConnectIP(INT32 choice)
|
||||||
|
|
||||||
if ( shiftdown ) {
|
if ( shiftdown ) {
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
case KEY_INS:
|
case KEY_INS: // shift+insert, pasting
|
||||||
{
|
{
|
||||||
const char *paste = I_ClipboardPaste();
|
const char *paste = I_ClipboardPaste();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue