diff options
author | Ton Roosendaal <ton@blender.org> | 2009-06-04 18:32:10 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-06-04 18:32:10 +0400 |
commit | 59333375b31fe4ba055f875c1d42be10e1611249 (patch) | |
tree | 7d3da9308b1b4c85f07ce69c58913132fe9afd3d /source/blender/editors/interface/interface_widgets.c | |
parent | d2ea71a296a741b90c895bdfcadebf089f328bad (diff) |
2.5
Two small fixes;
- Search menu options text could overlap with hotkey
- Operator "duplicate area into window" didnt work for non-actionzone
Diffstat (limited to 'source/blender/editors/interface/interface_widgets.c')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 47c4a729956..628efa220ed 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -1951,7 +1951,7 @@ void ui_draw_menu_item(uiFontStyle *fstyle, rcti *rect, char *name, int state) cpoin= strchr(name, '|'); if(cpoin) { *cpoin= 0; - rect->xmax -= BLF_width(cpoin+1) -10; + rect->xmax -= BLF_width(cpoin+1) + 10; } glColor3ubv(wt->wcol.text); |