Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Disk Poppy
SRB2
Commits
e95dc8c2
Commit
e95dc8c2
authored
5 years ago
by
Lactozilla
Browse files
Options
Downloads
Patches
Plain Diff
:earless:
parent
b1e6c4e4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/hu_stuff.c
+1
-1
1 addition, 1 deletion
src/hu_stuff.c
src/sdl/i_video.c
+1
-1
1 addition, 1 deletion
src/sdl/i_video.c
with
2 additions
and
2 deletions
src/hu_stuff.c
+
1
−
1
View file @
e95dc8c2
...
@@ -1287,7 +1287,7 @@ boolean HU_Responder(event_t *ev)
...
@@ -1287,7 +1287,7 @@ boolean HU_Responder(event_t *ev)
c
=
(
INT32
)
ev
->
data1
;
c
=
(
INT32
)
ev
->
data1
;
// pasting. pasting is cool. chat is a bit limited, though :(
// pasting. pasting is cool. chat is a bit limited, though :(
if
(((
c
==
'v'
||
c
==
'V'
)
&&
ctrldown
&&
ev
->
type
==
ev_
textinput
)
&&
!
CHAT_MUTE
)
if
(((
c
==
'v'
||
c
==
'V'
)
&&
ctrldown
&&
ev
->
type
==
ev_
keydown
)
&&
!
CHAT_MUTE
)
{
{
const
char
*
paste
=
I_ClipboardPaste
();
const
char
*
paste
=
I_ClipboardPaste
();
size_t
chatlen
;
size_t
chatlen
;
...
...
This diff is collapsed.
Click to expand it.
src/sdl/i_video.c
+
1
−
1
View file @
e95dc8c2
...
@@ -333,7 +333,7 @@ static INT32 Impl_SDL_Scancode_To_Keycode(SDL_Scancode code, Uint32 type)
...
@@ -333,7 +333,7 @@ static INT32 Impl_SDL_Scancode_To_Keycode(SDL_Scancode code, Uint32 type)
}
}
// Do send keyup events to avoid stuck movement keys
// Do send keyup events to avoid stuck movement keys
if
(
type
!=
SDL_KEYUP
)
if
(
type
!=
SDL_KEYUP
&&
(
!
ctrldown
)
)
{
{
// Lactozilla: console input
// Lactozilla: console input
if
(
CON_AcceptInput
())
if
(
CON_AcceptInput
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment