summaryrefslogtreecommitdiffstats
path: root/src/device-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device-manager.cpp')
-rw-r--r--src/device-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device-manager.cpp b/src/device-manager.cpp
index 1059f6e09..dabf926eb 100644
--- a/src/device-manager.cpp
+++ b/src/device-manager.cpp
@@ -437,7 +437,7 @@ void DeviceManagerImpl::saveConfig()
#if GTK_CHECK_VERSION (2, 22, 0)
tmp += getAxisToString()[static_cast<Gdk::AxisUse>(gdk_device_get_axis_use (device, i))];
#else
- tmp += getAxisToString()[static_cast<Gdk::AxisUse>(device->axis[i].use)];
+ tmp += getAxisToString()[static_cast<Gdk::AxisUse>(device->axes[i].use)];
#endif
}
prefs->setString( path + "/axes", tmp );