summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguillaume <guillaume>2007-01-29 01:22:12 +0000
committerguillaume <guillaume>2007-01-29 01:22:12 +0000
commitdfeb9ba3044038482c5bfed2d5e3a165e6d3d2e5 (patch)
tree3796e50cfc8ede4dded353f693c72a2982bad63f
parenta2919ea1f6f98b9dd1c08458646151964e432ec8 (diff)
downloadberyl-desktop-manager-dfeb9ba3044038482c5bfed2d5e3a165e6d3d2e5.tar.gz
beryl-desktop-manager-dfeb9ba3044038482c5bfed2d5e3a165e6d3d2e5.tar.bz2
bdm: fix segfault
-rw-r--r--src/bdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 3a4ff98..6c4b5bf 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -121,9 +121,9 @@ static void updateWidgets(cairo_t * cr,ScreenArea * area)
BDMText * text;
for (widgets=Widgets;widgets;widgets=widgets->next)
{
+ widget = widgets->data;
if ((widget->screenArea) != (area))
continue;
- widget = widgets->data;
widget->updateWidget();
if (widget->attrib->needsPainting)
{