X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ab2201f516946860e9322363be090a370da675fd..ca2f8cc7e93a21f9f04e0d976ca97feac4802e91:/uip/prompter.c diff --git a/uip/prompter.c b/uip/prompter.c index 878b2b43..3a51dbe3 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -8,8 +8,9 @@ #include #include #include +#include "h/done.h" #include -#include "../sbr/m_mktemp.h" +#include "sbr/m_mktemp.h" #include #include @@ -243,7 +244,7 @@ abort: puts("--------"); if (field[0]) { if (prepend && body) { - printf ("\n--------Enter initial text\n\n"); + puts("\n--------Enter initial text\n"); fflush (stdout); for (;;) { getln (buffer, sizeof(buffer)); @@ -264,7 +265,7 @@ abort: state = m_getfld2(&gstate, name, field, &fieldsz))); if (prepend || !body) break; - printf ("\n--------Enter additional text\n\n"); + puts("\n--------Enter additional text\n"); } fflush (stdout); @@ -385,7 +386,7 @@ intrser (int i) static int chrcnv (char *cp) { - return (*cp != QUOTE ? *cp : m_atoi (++cp)); + return *cp != QUOTE ? *cp : m_atoi(++cp); }