diff options
author | fluxgen <fluxgen> | 2002-10-23 22:00:46 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-23 22:00:46 (GMT) |
commit | 7934b75a9d13ea6bb100595d1a2c4d81c75b4144 (patch) | |
tree | c14a285ad9844dbf8054fc7f52eed1a37d0dcbce /src/fluxbox.cc | |
parent | a1a01de8f92098ec1cc23f46188a4c4c9b752200 (diff) | |
download | fluxbox-7934b75a9d13ea6bb100595d1a2c4d81c75b4144.zip fluxbox-7934b75a9d13ea6bb100595d1a2c4d81c75b4144.tar.bz2 |
fixed auto_ptr assignment
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index b219115..c8df4d9 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.78 2002/10/16 20:02:00 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.79 2002/10/23 22:00:46 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "fluxbox.hh" | 28 | #include "fluxbox.hh" |
@@ -425,7 +425,8 @@ key(0) | |||
425 | timer.fireOnce(True); | 425 | timer.fireOnce(True); |
426 | 426 | ||
427 | //create keybindings handler and load keys file | 427 | //create keybindings handler and load keys file |
428 | key = auto_ptr<Keys>(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str())); | 428 | auto_ptr<Keys> tmp(new Keys(getXDisplay(), StringUtil::expandFilename(*m_rc_keyfile).c_str())); |
429 | key = tmp; | ||
429 | 430 | ||
430 | ungrab(); | 431 | ungrab(); |
431 | } | 432 | } |