diff --git a/src/gui/touchscreengui.cpp b/src/gui/touchscreengui.cpp index 531b7708e..7d706b927 100644 --- a/src/gui/touchscreengui.cpp +++ b/src/gui/touchscreengui.cpp @@ -35,14 +35,14 @@ with this program; if not, write to the Free Software Foundation, Inc., using namespace irr::core; -const char **button_imagenames = (const char *[]) { +const char *button_imagenames[] = { "jump_btn.png", "down.png", "zoom.png", "aux1_btn.png" }; -const char **joystick_imagenames = (const char *[]) { +const char *joystick_imagenames[] = { "joystick_off.png", "joystick_bg.png", "joystick_center.png" diff --git a/src/gui/touchscreengui.h b/src/gui/touchscreengui.h index b91aca9dd..396cc6836 100644 --- a/src/gui/touchscreengui.h +++ b/src/gui/touchscreengui.h @@ -85,8 +85,8 @@ typedef enum // Very slow button repeat frequency #define SLOW_BUTTON_REPEAT 1.0f -extern const char **button_imagenames; -extern const char **joystick_imagenames; +extern const char *button_imagenames[]; +extern const char *joystick_imagenames[]; struct button_info {