aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-10 14:24:09 (GMT)
committerfluxgen <fluxgen>2002-01-10 14:24:09 (GMT)
commitbdc25f3fc93d425d73f8dbb8087368dce6a49124 (patch)
tree27be03ad9f72986ebff523b39b2723b4e41b7b67 /src
parent2ea94bb32245834e3a5b1e836a96109f45210c35 (diff)
downloadfluxbox-bdc25f3fc93d425d73f8dbb8087368dce6a49124.zip
fluxbox-bdc25f3fc93d425d73f8dbb8087368dce6a49124.tar.bz2
fixed so we can comment lines in configfile
Diffstat (limited to 'src')
-rw-r--r--src/Keys.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 5db7f69..92fa617 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.7 2002/01/09 14:11:20 fluxgen Exp $ 22//$Id: Keys.cc,v 1.8 2002/01/10 14:24:09 fluxgen Exp $
23 23
24#ifdef HAVE_CONFIG_H 24#ifdef HAVE_CONFIG_H
25# include "config.h" 25# include "config.h"
@@ -200,7 +200,9 @@ bool Keys::load(char *filename) {
200 //must have at least 1 argument 200 //must have at least 1 argument
201 if (val.size()<=0) 201 if (val.size()<=0)
202 continue; 202 continue;
203 203
204 if (val[0][0]=='#') //the line is commented
205 continue;
204 206
205 unsigned int key=0, mod=0; 207 unsigned int key=0, mod=0;
206 char keyarg=0; 208 char keyarg=0;