This is an automated email from the git hooks/post-receive script. smcv pushed a commit to tag 1.51 in repository iortcw.
commit a4b3312f3d22c7f4a4e6bfa41602088f00813b39 Author: MAN-AT-ARMS <[email protected]> Date: Sun Feb 5 04:48:34 2017 -0500 All: Allow hex strings longer than 4 to be used for cl_consoleKeys --- MP/code/sdl/sdl_input.c | 2 +- SP/code/sdl/sdl_input.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MP/code/sdl/sdl_input.c b/MP/code/sdl/sdl_input.c index d934110..4920467 100644 --- a/MP/code/sdl/sdl_input.c +++ b/MP/code/sdl/sdl_input.c @@ -136,7 +136,7 @@ static qboolean IN_IsConsoleKey( keyNum_t key, int character ) if( !token[ 0 ] ) break; - if( strlen( token ) == 4 ) + if( strlen( token ) >= 4 ) charCode = Com_HexStrToInt( token ); if( charCode > 0 ) diff --git a/SP/code/sdl/sdl_input.c b/SP/code/sdl/sdl_input.c index d934110..4920467 100644 --- a/SP/code/sdl/sdl_input.c +++ b/SP/code/sdl/sdl_input.c @@ -136,7 +136,7 @@ static qboolean IN_IsConsoleKey( keyNum_t key, int character ) if( !token[ 0 ] ) break; - if( strlen( token ) == 4 ) + if( strlen( token ) >= 4 ) charCode = Com_HexStrToInt( token ); if( charCode > 0 ) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

