diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-03 08:01:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-03 08:03:28 +0300 |
commit | 2c7cb8ce59da8b4d9fb9d9128c736e6f6560aa01 (patch) | |
tree | 52b510cb92295887b44faad4fe9723f9e362cd80 /source/blender/editors/include | |
parent | b3d2b035c4f0a31f9b1ee93aee1a8fead8c99f9b (diff) |
Fix UI string clip (reverse search separator char)
The string may have many '|' characters, only the last is clipped.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index e5ab7f2bb70..0b400e254f8 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -322,7 +322,7 @@ void UI_draw_widget_scroll(struct uiWidgetColors *wcol, const struct rcti *rect, /* Shortening string helper. */ float UI_text_clip_middle_ex( struct uiFontStyle *fstyle, char *str, float okwidth, const float minwidth, - const size_t max_len, const char *rpart_sep); + const size_t max_len, const char rpart_sep); /* Callbacks * |