enable inp_dodeck() to return an error state,

if error, inp_spsource() will return error as well
This commit is contained in:
Holger Vogt
2020-03-15 08:50:57 +01:00
parent 651ba72344
commit e9603dcdeb
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ extern bool gr_circular;
/* inp.c */
void inp_dodeck(struct card *deck, char *tt, wordlist *end, bool reuse,
int inp_dodeck(struct card *deck, char *tt, wordlist *end, bool reuse,
struct card *options, char *filename);
extern void inp_source(const char *file);
int inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile);