gpg: Fix --no-utf8-strings.

* g10/gpg.c (main): Ignore --no-utf8-strings only on Windows.
--

Fixes-commit: 8c41b8aac3
Reported-by: Ingo Klöcker
This commit is contained in:
Werner Koch 2023-09-18 11:26:56 +02:00
parent bf662d0f93
commit 2a2846959f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -3489,7 +3489,7 @@ main (int argc, char **argv)
break;
case oUtf8Strings: utf8_strings = 1; break;
case oNoUtf8Strings:
#ifdef HAVE_W32_SYSTEM
#ifndef HAVE_W32_SYSTEM
utf8_strings = 0;
#endif
break;