]> Dogcows Code - chaz/openbox/commitdiff
fix a segfault
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 01:09:20 +0000 (01:09 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 01:09:20 +0000 (01:09 +0000)
openbox/menuframe.c

index a5c301ed6f1617ab18a0169696c2fea1b0519fe1..fd7e95200cef7437a87929edb5cbfa1ca7f3d257 100644 (file)
@@ -326,6 +326,7 @@ static void menu_entry_frame_render(ObMenuEntryFrame *self)
         text_a->texture[0].data.text.string = sub ? sub->title : "";
         break;
     case OB_MENU_ENTRY_TYPE_SEPARATOR:
+        text_a = self->a_text_normal;
         break;
     }
 
This page took 0.027002 seconds and 4 git commands to generate.