openbsd-ports/devel/vte/patches/patch-src_vte_c
2003-06-12 19:45:35 +00:00

13 lines
420 B
Plaintext

$OpenBSD: patch-src_vte_c,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- src/vte.c.orig Mon May 5 22:27:40 2003
+++ src/vte.c Thu May 29 21:24:56 2003
@@ -584,7 +584,7 @@ vte_unicode_strlen(gunichar *c)
static wchar_t
vte_wc_from_unichar(VteTerminal *terminal, gunichar c)
{
-#ifdef __STDC_ISO_10646__
+#if defined(__STDC_ISO_10646__) || defined(__OpenBSD__)
return (wchar_t) c;
#else
gpointer original, result;