From 37163b419cac729f7ab31be2e958a250a9151c2e Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 9 Dec 2002 22:21:00 +0000 Subject: minor fix for keys ptr --- src/fluxbox.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index a2fd191..00caa3b 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.86 2002/12/03 23:58:06 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.87 2002/12/09 22:21:00 fluxgen Exp $ #include "fluxbox.hh" @@ -426,8 +426,7 @@ Fluxbox::Fluxbox(int m_argc, char **m_argv, const char *dpy_name, const char *rc timer.fireOnce(True); //create keybindings handler and load keys file - auto_ptr tmp(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str())); - key = tmp; + key.reset(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str())); ungrab(); } -- cgit v0.11.2