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
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
parentcda2b7db0fe904538ffa42ae4f63527f3defc3be (diff)
style cleanup
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp8
-rw-r--r--source/blender/editors/space_text/text_format.c2
2 files changed, 5 insertions, 5 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);
}
diff --git a/source/blender/editors/space_text/text_format.c b/source/blender/editors/space_text/text_format.c
index d7691642070..a8c2de193c4 100644
--- a/source/blender/editors/space_text/text_format.c
+++ b/source/blender/editors/space_text/text_format.c
@@ -197,7 +197,7 @@ void ED_text_format_register(TextFormatType *tft)
TextFormatType *ED_text_format_get(Text *text)
{
- TextFormatType* tft;
+ TextFormatType *tft;
if (text) {
const char *text_ext = strchr(text->id.name + 2, '.');