From 6194acb2710554a95090811eb6a4897fb7ee1a60 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 05:27:43 +0000 Subject: [PATCH] checking string length with the wrong texture --- openbox/menuframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index a2760aa1..313bd6cf 100644 --- 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; -- 2.45.2