We need to lookup locale when command line arguments

are specified, as well.
MFC after:	1 week
This commit is contained in:
ume 2016-11-18 17:18:05 +00:00
parent f11b3f46a7
commit 9cfc82e371

View File

@ -283,7 +283,7 @@ main(int argc, char *argv[])
/* process '-c', '-k', or command line arguments. */
if (prt_categories || prt_keywords || argc > 0) {
if (prt_keywords)
if (prt_keywords || argc > 0)
setlocale(LC_ALL, "");
if (argc > 0) {
while (argc > 0) {