From de7a567d5b1c878e77624e09862bff7466b8dd10 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Apr 2002 18:24:12 +0000 Subject: on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value. --- src/openbox.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/openbox.cc') diff --git a/src/openbox.cc b/src/openbox.cc index d0488378..70d1d920 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -182,11 +182,11 @@ Openbox::Openbox(int m_argc, char **m_argv, char *dpy_name, char *rc) no_focus = False; - resource.menu_file = resource.style_file = (char *) 0; - resource.titlebar_layout = (char *) NULL; + resource.menu_file = resource.style_file = NULL; + resource.titlebar_layout = NULL; resource.auto_raise_delay.tv_sec = resource.auto_raise_delay.tv_usec = 0; - focused_window = masked_window = (OpenboxWindow *) 0; + focused_window = masked_window = NULL; masked = None; windowSearchList = new LinkedList; -- cgit v1.2.3