diff options
Diffstat (limited to 'source/blender/editors/interface/interface_style.c')
-rw-r--r-- | source/blender/editors/interface/interface_style.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index 65e2b98f4b9..580b0ff05dc 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -219,10 +219,10 @@ void uiStyleFontDrawRotated(uiFontStyle *fs, rcti *rect, const char *str) angle= 90.0f; /* translate rect to vertical */ - txtrect.xmin= rect->xmin - (rect->ymax - rect->ymin); - txtrect.ymin= rect->ymin - (rect->xmax - rect->xmin); - txtrect.xmax= rect->xmin; - txtrect.ymax= rect->ymin; + txtrect.xmin = rect->xmin - (rect->ymax - rect->ymin); + txtrect.ymin = rect->ymin - (rect->xmax - rect->xmin); + txtrect.xmax = rect->xmin; + txtrect.ymax = rect->ymin; /* clip is very strict, so we give it some space */ /* clipping is done without rotation, so make rect big enough to contain both positions */ |