Fix -dumpglyphids on Unix
The order of the statements needs to be changed, so the -d is not interpreted as requesting a directory.
This commit is contained in:
@@ -114,12 +114,12 @@ main(int argc, char *argv[])
|
|||||||
if (!dir)
|
if (!dir)
|
||||||
dir = nh_getenv("HACKDIR");
|
dir = nh_getenv("HACKDIR");
|
||||||
#endif /* CHDIR */
|
#endif /* CHDIR */
|
||||||
/* handle -dalthackdir, -s <score stuff>, --version, --showpaths */
|
|
||||||
early_options(&argc, &argv, &dir);
|
|
||||||
#ifdef ENHANCED_SYMBOLS
|
#ifdef ENHANCED_SYMBOLS
|
||||||
if (argcheck(argc, argv, ARG_DUMPGLYPHIDS) == 2)
|
if (argcheck(argc, argv, ARG_DUMPGLYPHIDS) == 2)
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
|
/* handle -dalthackdir, -s <score stuff>, --version, --showpaths */
|
||||||
|
early_options(&argc, &argv, &dir);
|
||||||
#ifdef CHDIR
|
#ifdef CHDIR
|
||||||
/*
|
/*
|
||||||
* Change directories before we initialize the window system so
|
* Change directories before we initialize the window system so
|
||||||
|
|||||||
Reference in New Issue
Block a user