aboutsummaryrefslogtreecommitdiff
path: root/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'talk.c')
-rw-r--r--talk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/talk.c b/talk.c
index 456939f..9ed5824 100644
--- a/talk.c
+++ b/talk.c
@@ -46,6 +46,7 @@ char *talkf(struct Dictionary *dict[], char *fmt, char **parts, size_t parts_max
word = dictionary_word(dict[WT_VERB], WT_VERB);
break;
default:
+ fprintf(stderr, "INVALID FORMAT: %x\n", fmt[i]);
break;
}
@@ -173,7 +174,7 @@ int acronym_safe(struct Dictionary *dict, const char *acronym, const char *patte
int format_safe(char *s) {
size_t valid;
- const char *formatter = "nadvx";
+ const char *formatter = DEFAULT_FORMAT"x";
valid = 0;
for (size_t i = 0; i < strlen(formatter); i++) {