conf.c (66c4bd808508ae99e00e979ab3e9a1c6a6a7ad45) conf.c (4356f4890792a678936c93c9196e8f7742e04535)
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#include <locale.h>
7#include <ctype.h>
8#include <stdio.h>

--- 107 unchanged lines hidden (view full) ---

116 return 1;
117 default:
118 ;
119 }
120 printf("%s", line);
121 return 1;
122}
123
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#include <locale.h>
7#include <ctype.h>
8#include <stdio.h>

--- 107 unchanged lines hidden (view full) ---

116 return 1;
117 default:
118 ;
119 }
120 printf("%s", line);
121 return 1;
122}
123
124int conf_string(struct menu *menu)
124static int conf_string(struct menu *menu)
125{
126 struct symbol *sym = menu->sym;
127 const char *def;
128
129 while (1) {
130 printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
131 printf("(%s) ", sym->name);
132 def = sym_get_string_value(sym);

--- 485 unchanged lines hidden ---
125{
126 struct symbol *sym = menu->sym;
127 const char *def;
128
129 while (1) {
130 printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
131 printf("(%s) ", sym->name);
132 def = sym_get_string_value(sym);

--- 485 unchanged lines hidden ---