Release calc version 2.11.0t9.1

This commit is contained in:
Landon Curt Noll
1999-11-01 10:20:57 -08:00
parent f3fceff1b6
commit ea6b3904be
7 changed files with 77 additions and 41 deletions

View File

@@ -3128,8 +3128,7 @@ o_quit(FUNC *fp, long index)
s = findstring(index);
cp = s->s_str;
}
if (inputisterminal() && (fp->f_name[0] == '*')
&& (fp->f_name[1] == '\0')) {
if (inputisterminal() && !strcmp(fp->f_name, "*")) {
if (cp)
printf("%s\n", cp);
hist_term();
@@ -3144,7 +3143,7 @@ o_quit(FUNC *fp, long index)
printf("%s\n", cp);
else if (conf->verbose_quit)
printf("Quit or abort executed\n");
if (!inputisterminal() && fp->f_name[0] == '*')
if (!inputisterminal() && !strcmp(fp->f_name, "*"))
closeinput();
go = FALSE;
}