From d1d3cdc7a53abcfe96a2b6ebc89707ee3c627fab Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 24 Feb 2013 19:12:14 +0100 Subject: [PATCH] inpcom.c: rename library_name[][] --> section_name[][] --- src/frontend/inpcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 7200d618a..19c89bfb6 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -36,7 +36,7 @@ Author: 1985 Wayne A. Christopher /* globals -- wanted to avoid complicating inp_readall interface */ static char *library_file[1000]; -static char *library_name[1000][1000]; +static char *section_name[1000][1000]; static struct line *section_ref[1000][1000]; static struct line *library_deck[1000]; static int num_libraries; @@ -117,7 +117,7 @@ static int find_section(int i, char *s) { int j; for (j = 0; j < num_sections[i]; j++) - if (strcmp(library_name[i][j], s) == 0) + if (strcmp(section_name[i][j], s) == 0) return j; return -1; } @@ -126,7 +126,7 @@ find_section(int i, char *s) { static void remember_section_ref(int i, char *y, struct line *c) { section_ref[i][num_sections[i]] = c; - library_name[i][num_sections[i]++] = strdup(y); + section_name[i][num_sections[i]++] = strdup(y); }