diff options
-rw-r--r-- | src/Keys.cc | 6 |
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; |