summaryrefslogtreecommitdiffstats
path: root/smenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'smenu.c')
-rw-r--r--smenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smenu.c b/smenu.c
index 7d4dabb..f6ae146 100644
--- a/smenu.c
+++ b/smenu.c
@@ -2755,10 +2755,10 @@ get_word(FILE * input, ll_t * word_delims_list, ll_t * record_delims_list,
pos = strlen(utf8_buffer);
while (pos > 0)
- my_ungetc(utf8_buffer[--pos]);
+ my_ungetc(utf8_buffer[--pos], input);
}
else
- my_ungetc(byte);
+ my_ungetc(byte, input);
}
/* Mark it as the last word of a record if its sequence matches a */