Tweak, so this is still correct for the hypothetical case of somebody

building aumix with GTK+1.
This commit is contained in:
naddy 2009-11-02 18:17:58 +00:00
parent 0513e8e029
commit 611c065821

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-src_common_c,v 1.1 2009/10/12 19:13:06 naddy Exp $
$OpenBSD: patch-src_common_c,v 1.2 2009/11/02 18:17:58 naddy Exp $
--- src/common.c.orig Mon Oct 12 21:03:51 2009
+++ src/common.c Mon Oct 12 21:04:53 2009
@@ -216,6 +216,10 @@ int main(int argc, char *argv[])
#if defined (HAVE_GTK) || defined (HAVE_GTK1)
/* GTK+ stuff */
if (interactive == IN_GTK) {
+#ifdef HAVE_NLS
+#if defined (HAVE_GTK) && defined (HAVE_NLS)
+ bind_textdomain_codeset((char *) PACKAGE, "UTF-8");
+#endif /* HAVE_NLS */
+