* profile.c (load): Fix reading keys immediately after comments.

This commit is contained in:
Pavel Roskin 2003-03-03 07:59:11 +00:00
parent 578343d41a
commit b9081640b0
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-03-03 Pavel Roskin <proski@gnu.org>
* profile.c (load): Fix reading keys immediately after comments.
2003-02-26 Pavel Roskin <proski@gnu.org>
* cons.handler.c: Put checks for rxvt extensions in one place.

View File

@ -196,8 +196,11 @@ static TSecHeader *load (const char *file)
if ((c == ' ' && state != KeyDefOnKey) || c == '\t')
break;
if (c == '\n' || overflow) /* Abort Definition */
if (c == '\n' || overflow) {
/* Abort Definition */
next = CharBuffer;
break;
}
if (c == '=' || overflow){
TKeys *temp;