From 88d55b827d5ecac94c9ec399d219cc02b46ed694 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 3 Mar 2013 11:17:50 +0100 Subject: Remove incorrect use of ctype.h functions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As far as I can tell the code should not change behaviour depending on locale in any of these places. Signed-off-by: Reimar Döffinger --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index c6fde336bd..2668ee1486 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1628,7 +1628,7 @@ int show_help(void *optctx, const char *opt, const char *arg) int read_yesno(void) { int c = getchar(); - int yesno = (toupper(c) == 'Y'); + int yesno = (av_toupper(c) == 'Y'); while (c != '\n' && c != EOF) c = getchar(); -- cgit v1.2.3