Indented with src/scripts/indent-emp.
This commit is contained in:
parent
5f263a7753
commit
9b7adfbecc
437 changed files with 52211 additions and 51052 deletions
|
@ -37,14 +37,14 @@
|
|||
s_char *
|
||||
getstarg(s_char *input, s_char *prompt, s_char *buf)
|
||||
{
|
||||
extern s_char *getstring(s_char *prompt, s_char *buf);
|
||||
extern s_char *getstring(s_char *prompt, s_char *buf);
|
||||
|
||||
*buf = '\0';
|
||||
if (input == 0 || *input == 0) {
|
||||
if (getstring(prompt, buf) == 0)
|
||||
return 0;
|
||||
} else {
|
||||
strcpy(buf, input);
|
||||
}
|
||||
return buf;
|
||||
*buf = '\0';
|
||||
if (input == 0 || *input == 0) {
|
||||
if (getstring(prompt, buf) == 0)
|
||||
return 0;
|
||||
} else {
|
||||
strcpy(buf, input);
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue