/* * Write a line to the spoiler file and then "underline" it with hypens */ static void spoiler_underline(const char *str, char c) { text_out("%s", str); text_out("\n"); spoiler_out_n_chars(strlen(str), c); text_out("\n"); }
/* * Write a line to the spoiler file and then "underline" it with hyphens */ static void spoiler_underline(cptr str) { text_out(str); text_out("\n"); spoiler_out_n_chars(strlen(str), '-'); text_out("\n"); }
/* * Write out `n' blank lines to the spoiler file */ static void spoiler_blanklines(int n) { spoiler_out_n_chars(n, '\n'); }
/* * Write a line to the spoiler file and then "underline" it with hypens */ static void spoiler_underline(cptr str) { fprintf(fff, "%s\n", str); spoiler_out_n_chars(strlen(str), '-'); fprintf(fff, "\n"); }