Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-16 22:16:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-16 22:16:05 +0400
commit6e7ee2649d108e680d4d25f6f2d382022fd0bb75 (patch)
treed0446156200605578f39d7ea2b9481a98a012462 /intern
parentcda2b7db0fe904538ffa42ae4f63527f3defc3be (diff)
style cleanup
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index f5c31c93335..de6a1142492 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -530,10 +530,10 @@ static bool checkTabletProximity(Display *display, XDevice *device)
XInputClass *cls = state->data;
// printf("%d class%s :\n", state->num_classes,
// (state->num_classes > 1) ? "es" : "");
- for(int loop=0; loop < state->num_classes; loop++) {
- switch(cls->c_class) {
+ for (int loop = 0; loop < state->num_classes; loop++) {
+ switch (cls->c_class) {
case ValuatorClass:
- XValuatorState *val_state = (XValuatorState *) cls;
+ XValuatorState *val_state = (XValuatorState *)cls;
// printf("ValuatorClass Mode=%s Proximity=%s\n",
// val_state->mode & 1 ? "Absolute" : "Relative",
// val_state->mode & 2 ? "Out" : "In");
@@ -544,7 +544,7 @@ static bool checkTabletProximity(Display *display, XDevice *device)
}
break;
}
- cls = (XInputClass *) ((char *) cls + cls->length);
+ cls = (XInputClass *) ((char *)cls + cls->length);
}
XFreeDeviceState(state);
}