* prompt the user with the name of the field being changed and the
* current value.
*/
-void change_field (char *buf, size_t maxsize, const char *prompt)
+void
+change_field(char *buf, size_t maxsize, const char *prompt)
{
char newf[200];
char *cp;
* makes it possible to change the field to empty, by
* entering a space. --marekm
*/
- stpcpy(strrspn(newf, " \t\n"), "");
+ stpcpy(strrspn(newf, " \t"), "");
cp = stpspn(newf, " \t");
strcpy (buf, cp);
}