summaryrefslogtreecommitdiff
path: root/otk/focuslabel.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-20 19:28:57 +0000
committerDana Jansens <danakj@orodu.net>2003-01-20 19:28:57 +0000
commit68a6fce53badb38ba3dc387c4b5c86c02801f657 (patch)
tree059c61cf79cec14272fe24ff03402bfdb54fdc12 /otk/focuslabel.cc
parent24e20d5ed6f07f61bbc8ee2bdeac377ca2373bdb (diff)
dont try free the widget's pixmap until it is no longer in use
Diffstat (limited to 'otk/focuslabel.cc')
-rw-r--r--otk/focuslabel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc
index 79d68b09..6869d231 100644
--- a/otk/focuslabel.cc
+++ b/otk/focuslabel.cc
@@ -67,7 +67,7 @@ void FocusLabel::renderForeground(void)
}
display->renderControl(_screen)->
- drawString(_surface, *ft, x, 0, *text_color, t);
+ drawString(*_surface, *ft, x, 0, *text_color, t);
}
}