projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0479fd0
)
fixed compiler warning by adding missing variable initialization
author
Holger Schemel
<info@artsoft.org>
Wed, 27 Sep 2017 20:04:28 +0000
(22:04 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 27 Sep 2017 20:04:59 +0000
(22:04 +0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index ba5a211911500f064607ea445b1b0a2f236e0dc8..0a63c2e40cb9575d5c65eecd94b3d75092cc2d06 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-6581,6
+6581,8
@@
static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick)
axis_x = LoadCustomImage("joystick/axis_x.png");
axis_y = LoadCustomImage("joystick/axis_y.png");
+ marker = button; /* initialize with reliable default value */
+
bitmaps_initialized = TRUE;
}