This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 6262972488a80657f5ef837c20b079799be7a731
Author: SmileTheory <smilethe...@gmail.com>
Date:   Mon Aug 8 02:43:02 2016 -0700

    Fix stricmp usage in previous commit.
---
 code/sdl/sdl_input.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c
index 4744e0e..802af4d 100644
--- a/code/sdl/sdl_input.c
+++ b/code/sdl/sdl_input.c
@@ -537,52 +537,52 @@ static qboolean KeyToAxisAndSign(int keynum, int 
*outAxis, int *outSign)
 
        *outSign = 0;
 
-       if (stricmp(bind, "+forward") == 0)
+       if (Q_stricmp(bind, "+forward") == 0)
        {
                *outAxis = j_forward_axis->integer;
                *outSign = j_forward->value > 0.0f ? 1 : -1;
        }
-       else if (stricmp(bind, "+back") == 0)
+       else if (Q_stricmp(bind, "+back") == 0)
        {
                *outAxis = j_forward_axis->integer;
                *outSign = j_forward->value > 0.0f ? -1 : 1;
        }
-       else if (stricmp(bind, "+moveleft") == 0)
+       else if (Q_stricmp(bind, "+moveleft") == 0)
        {
                *outAxis = j_side_axis->integer;
                *outSign = j_side->value > 0.0f ? -1 : 1;
        }
-       else if (stricmp(bind, "+moveright") == 0)
+       else if (Q_stricmp(bind, "+moveright") == 0)
        {
                *outAxis = j_side_axis->integer;
                *outSign = j_side->value > 0.0f ? 1 : -1;
        }
-       else if (stricmp(bind, "+lookup") == 0)
+       else if (Q_stricmp(bind, "+lookup") == 0)
        {
                *outAxis = j_pitch_axis->integer;
                *outSign = j_pitch->value > 0.0f ? -1 : 1;
        }
-       else if (stricmp(bind, "+lookdown") == 0)
+       else if (Q_stricmp(bind, "+lookdown") == 0)
        {
                *outAxis = j_pitch_axis->integer;
                *outSign = j_pitch->value > 0.0f ? 1 : -1;
        }
-       else if (stricmp(bind, "+left") == 0)
+       else if (Q_stricmp(bind, "+left") == 0)
        {
                *outAxis = j_yaw_axis->integer;
                *outSign = j_yaw->value > 0.0f ? 1 : -1;
        }
-       else if (stricmp(bind, "+right") == 0)
+       else if (Q_stricmp(bind, "+right") == 0)
        {
                *outAxis = j_yaw_axis->integer;
                *outSign = j_yaw->value > 0.0f ? -1 : 1;
        }
-       else if (stricmp(bind, "+moveup") == 0)
+       else if (Q_stricmp(bind, "+moveup") == 0)
        {
                *outAxis = j_up_axis->integer;
                *outSign = j_up->value > 0.0f ? 1 : -1;
        }
-       else if (stricmp(bind, "+movedown") == 0)
+       else if (Q_stricmp(bind, "+movedown") == 0)
        {
                *outAxis = j_up_axis->integer;
                *outSign = j_up->value > 0.0f ? -1 : 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to