projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11dd7db
)
checking string length with the wrong texture
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 05:27:43 +0000
(
05:27
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 05:27:43 +0000
(
05:27
+0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index
a2760aa
..
313bd6c
100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-728,7
+728,7
@@
void menu_frame_render(ObMenuFrame *self)
if (e->entry->data.separator.label != NULL) {
e->a_text_title->texture[0].data.text.string =
e->entry->data.separator.label;
- tw = RrMinWidth(
text_a
);
+ tw = RrMinWidth(
e->a_text_title
);
tw = MIN(tw, MAX_MENU_WIDTH);
th = ob_rr_theme->menu_title_height +
(ob_rr_theme->mbwidth - PADDING) *2;