From b98d3ba9d7ad58f323873d808fb05179fc20299b Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 8 Jan 2002 12:13:55 +0000 Subject: Fixed std::string bug --- src/Theme.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Theme.cc b/src/Theme.cc index 6eba19e..afd6a33 100644 --- a/src/Theme.cc +++ b/src/Theme.cc @@ -41,7 +41,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.9 2002/01/08 11:37:15 fluxgen Exp $ +// $Id: Theme.cc,v 1.10 2002/01/08 12:13:55 fluxgen Exp $ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -75,10 +75,9 @@ Theme::Theme(Display *display, Window rootwindow, Colormap colormap, m_imagecontrol(ic), m_display(display), m_colormap(colormap), -m_screennum(screennum), -m_rootcommand(rootcommand) +m_screennum(screennum) { - + m_rootcommand = (rootcommand == 0 ? "" : rootcommand); //default settings m_menustyle.titlefont.set = m_menustyle.framefont.set = m_toolbarstyle.font.set = m_windowstyle.font.set = m_windowstyle.tab.font.set = 0; -- cgit v0.11.2