summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-09-04 06:22:28 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-09-04 06:25:06 +0200
commit1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed (patch)
tree31587c790320eef390e5224dba943966036673d2 /openbox/menuframe.c
parentc12d09bde85e40fdfbb36225a1b596b5f27c2335 (diff)
Fix shadowed variables
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 2c666e3f..944fa2e8 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -637,9 +637,9 @@ void menu_frame_render(ObMenuFrame *self)
STRUT_SET(self->item_margin, 0, 0, 0, 0);
if (self->entries) {
- ObMenuEntryFrame *e = self->entries->data;
gint l, t, r, b;
+ e = self->entries->data;
e->a_text_normal->texture[0].data.text.string = "";
tw = RrMinWidth(e->a_text_normal);
tw += 2*PADDING;