inpcom.c: rename local variable names

This commit is contained in:
rlar 2013-02-24 21:01:30 +01:00
parent bae9e127d9
commit 68b5ccf445
1 changed files with 6 additions and 6 deletions

View File

@ -2380,7 +2380,7 @@ collect_section_references(struct line *deck, char *section_name_)
char keep_char1, keep_char2;
char *z, *copys = NULL;
int i;
int lib_idx;
for (z = y; *z && !isspace(*z) && !isquote(*z); z++)
;
@ -2394,12 +2394,12 @@ collect_section_references(struct line *deck, char *section_name_)
if (copys)
s = copys;
}
i = find_lib(s);
if (i >= 0)
if (find_section(i, y) < 0) {
remember_section_ref(i, y, c);
lib_idx = find_lib(s);
if (lib_idx >= 0)
if (find_section(lib_idx, y) < 0) {
remember_section_ref(lib_idx, y, c);
/* see if other libraries referenced */
collect_section_references(library_deck[i], y);
collect_section_references(library_deck[lib_idx], y);
}
*line = '*'; /* comment out .lib line */
*t = keep_char1;