blob: 6872d6cf368339a320ab070991689464fd40424c (
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.5 2004/01/29 16:58:03 jmmv Exp $
--- src/fluxbox.cc.orig 2004-01-13 15:31:15.000000000 +0100
+++ src/fluxbox.cc
@@ -668,11 +668,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;
|