blob: 0b4cf6ad67bf0a2cc417611340007c3b48ed688a (
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.6 2004/05/13 10:03:12 wiz Exp $
--- src/fluxbox.cc.orig 2004-04-26 11:25:42.000000000 +0200
+++ src/fluxbox.cc
@@ -700,11 +700,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;
|