aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-30 19:42:20 (GMT)
committerfluxgen <fluxgen>2003-06-30 19:42:20 (GMT)
commit6a56ce28299282c4e8000e68a1662dc5ec9fa400 (patch)
treef39156d0b16692163710cc1c128348baa49187a3 /src
parent952759281aab207016eaaac2b6cfc9e6b4a1ab71 (diff)
downloadfluxbox_paul-6a56ce28299282c4e8000e68a1662dc5ec9fa400.zip
fluxbox_paul-6a56ce28299282c4e8000e68a1662dc5ec9fa400.tar.bz2
forgot to add arguments
Diffstat (limited to 'src')
-rw-r--r--src/Keys.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 7de7d33..e6105aa 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Keys.cc,v 1.32 2003/06/30 14:57:14 fluxgen Exp $ 22//$Id: Keys.cc,v 1.33 2003/06/30 19:42:20 fluxgen Exp $
23 23
24 24
25#include "Keys.hh" 25#include "Keys.hh"
@@ -190,8 +190,13 @@ bool Keys::load(const char *filename) {
190 190
191 } else { // parse command line 191 } else { // parse command line
192 192
193
194 const char *str =
195 FbTk::StringUtil::strcasestr(linebuffer.c_str(),
196 val[argc].c_str() + 1); // +1 to skip ':'
197
193 // +1 to remove the first ':' 198 // +1 to remove the first ':'
194 last_key->m_command = CommandParser::instance().parseLine(val[argc].c_str() + 1); 199 last_key->m_command = CommandParser::instance().parseLine(str);
195 200
196 if (*last_key->m_command == 0) { 201 if (*last_key->m_command == 0) {
197 cerr<<"File: "<<filename<<". Error on line: "<<line<<endl; 202 cerr<<"File: "<<filename<<". Error on line: "<<line<<endl;