1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Fix --no-utf8-strings.

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

Fixes-commit: 8c41b8aac3efb78178fe1eaf52d8d1bbc44941a8
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

View File

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