From 207ae9f5c23af91d678c62e8bcf0833c286e5978 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 6 Feb 2014 17:06:49 +0100 Subject: [PATCH] sfnt2fon: Use getopt_long to allow arbitrary option order. --- tools/sfnt2fon/sfnt2fon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sfnt2fon/sfnt2fon.c b/tools/sfnt2fon/sfnt2fon.c index 4b47682b900..7612bc253d1 100644 --- a/tools/sfnt2fon/sfnt2fon.c +++ b/tools/sfnt2fon/sfnt2fon.c @@ -646,7 +646,7 @@ static char **parse_options( int argc, char **argv ) { int optc; - while ((optc = getopt( argc, argv, "d:ho:qr:s" )) != -1) + while ((optc = getopt_long( argc, argv, "d:ho:qr:s", NULL, NULL )) != -1) { switch(optc) {