blob: 1cbd371bee71aeecfd3c8f4de5f4e9c95b6a6dc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ac,v 1.7 2005/09/27 12:49:04 tonio Exp $
--- src/fluxbox.cc.orig 2005-09-01 11:22:01.000000000 +0200
+++ src/fluxbox.cc
@@ -570,11 +570,11 @@ void Fluxbox::setupConfigFiles() {
bool create_init = false, create_keys = false, create_menu = false;
- string dirname = getenv("HOME") + string("/.") + string(m_RC_PATH) + "/";
+ string dirname = getenv("HOME") + string("/.") + string(m_RC_PATH);
string init_file, keys_file, menu_file, slitlist_file;
- init_file = dirname + m_RC_INIT_FILE;
- keys_file = dirname + "keys";
- menu_file = dirname + "menu";
+ init_file = dirname + "/" + m_RC_INIT_FILE;
+ keys_file = dirname + "/" + "keys";
+ menu_file = dirname + "/" + "menu";
struct stat buf;
|