mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* profile.c (load): Fix reading keys immediately after comments.
This commit is contained in:
parent
578343d41a
commit
b9081640b0
@ -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>
|
2003-02-26 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* cons.handler.c: Put checks for rxvt extensions in one place.
|
* cons.handler.c: Put checks for rxvt extensions in one place.
|
||||||
|
@ -196,8 +196,11 @@ static TSecHeader *load (const char *file)
|
|||||||
if ((c == ' ' && state != KeyDefOnKey) || c == '\t')
|
if ((c == ' ' && state != KeyDefOnKey) || c == '\t')
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (c == '\n' || overflow) /* Abort Definition */
|
if (c == '\n' || overflow) {
|
||||||
|
/* Abort Definition */
|
||||||
next = CharBuffer;
|
next = CharBuffer;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (c == '=' || overflow){
|
if (c == '=' || overflow){
|
||||||
TKeys *temp;
|
TKeys *temp;
|
||||||
|
Loading…
Reference in New Issue
Block a user