summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index ad958ba82..57e763c8d 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -382,6 +382,7 @@ void TouchManager::loadButtons()
{
// 2x1
case 0:
+ default:
{
loadTouchItem(&mButtons[1], "dbutton.xml", "dbutton_image.xml",
x, y, sz, sz, RIGHT, "screenActionButton1", "");
@@ -468,8 +469,9 @@ void TouchManager::loadButtons()
loadTouchItem(&mButtons[11], "dbutton.xml",
"dbutton_image.xml", x, y, sz, sz, RIGHT,
"screenActionButton11", "");
- loadTouchItem(&mButtons[10], "dbutton.xml", "dbutton_image.xml",
- skipWidth, y, sz, sz, RIGHT, "screenActionButton10", "");
+ loadTouchItem(&mButtons[10], "dbutton.xml",
+ "dbutton_image.xml", skipWidth, y, sz, sz, RIGHT,
+ "screenActionButton10", "");
loadTouchItem(&mButtons[9], "dbutton.xml", "dbutton_image.xml",
skipWidth2, y, sz, sz, RIGHT, "screenActionButton9", "");
loadTouchItem(&mButtons[8], "dbutton.xml", "dbutton_image.xml",