Commit d88423ea authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: move a debug statement to its proper place, and improve aspect

No related merge requests found
Showing with 3 additions and 6 deletions
+3 -6
...@@ -1067,7 +1067,8 @@ void parse_rcfile(FILE *rcstream ...@@ -1067,7 +1067,8 @@ void parse_rcfile(FILE *rcstream
} }
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "parse_rcfile(): option name = \"%s\"\n", rcopts[i].name); fprintf(stderr, " Option name = \"%s\"\n", rcopts[i].name);
fprintf(stderr, " Flag = %ld\n", rcopts[i].flag);
#endif #endif
/* First handle unsetting. */ /* First handle unsetting. */
if (set == -1) { if (set == -1) {
...@@ -1098,7 +1099,7 @@ void parse_rcfile(FILE *rcstream ...@@ -1098,7 +1099,7 @@ void parse_rcfile(FILE *rcstream
option = mallocstrcpy(NULL, option); option = mallocstrcpy(NULL, option);
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "option argument = \"%s\"\n", option); fprintf(stderr, " Option argument = \"%s\"\n", option);
#endif #endif
/* Make sure the option argument is a valid multibyte string. */ /* Make sure the option argument is a valid multibyte string. */
if (!is_valid_mbstring(option)) { if (!is_valid_mbstring(option)) {
...@@ -1191,10 +1192,6 @@ void parse_rcfile(FILE *rcstream ...@@ -1191,10 +1192,6 @@ void parse_rcfile(FILE *rcstream
free(option); free(option);
} else } else
assert(FALSE); assert(FALSE);
#ifdef DEBUG
fprintf(stderr, "flag = %ld\n", rcopts[i].flag);
#endif
} }
#ifndef DISABLE_COLOR #ifndef DISABLE_COLOR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment