summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-03-03 11:17:50 +0100
committerMartin Storsjö <martin@martin.st>2013-03-07 15:16:36 +0200
commitefa7f4202088c70caba11d7834641bc6eaf41830 (patch)
tree7ef0beba253b642affcc69f634f192fdc7c12428 /cmdutils.c
parent12c5c1d3e3906e18a96ec380605d2f1504fc3d3b (diff)
Use the avstring.h locale-independent character type functions
Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index fa5632672a..3dbb722d21 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1289,7 +1289,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();