diff --git a/input.c b/input.c index a57703c..b798e97 100644 --- a/input.c +++ b/input.c @@ -38,7 +38,7 @@ char *getstring(char *fmt, ...) { return buf; } -int yes_no_prompt(const char *fmt, ...) { +int yesno(char *fmt, ...) { char prompt[256]; va_list ap; diff --git a/input.h b/input.h index 12b1e74..e9c4154 100644 --- a/input.h +++ b/input.h @@ -4,6 +4,6 @@ enum { TRUE, FALSE, GUARANTEE }; char *getstring(char *fmt, ...); -int mlyesno(char *fmt, ...); +int yesno(char *fmt, ...); #endif /* INPUT_H_ */ diff --git a/proj.c b/proj.c index 97f1a03..3f9b80f 100644 --- a/proj.c +++ b/proj.c @@ -73,12 +73,12 @@ int main(int argc, char **argv)\n\ }\n\ \n\ return 0;\n\ -}"); +}", src, author, src, src); ffwrite("README", "\ -+%%s+\n\ -| %%s |\n\ -+%%s+\n\ ++--------------------+\n\ +| %s/%s 1.0 |\n\ ++--------------------+\n\ \n\ %s\n\ \n\ @@ -126,8 +126,14 @@ more accurate attributions, if you desire.\n\ \n\ LAST MODIFED DATE\ ", - description, src, author, src, year, author, src, author, src, author, - description, src, author, VERSION); + src, author, + description, + src, author, + src, year, author, + src, author, + src, author, description, + src, author, + src, VERSION); return 0; }