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, '.');