mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
b736bfc7c2
PR: ports/83896 Submitted by: Matthew Luckie <mjl@luckie.org.nz> Approved by: David Yeske <dyeske@yahoo.com> (maintainer)
12 lines
337 B
C
12 lines
337 B
C
--- src/main.c.orig Fri Jul 22 19:42:38 2005
|
|
+++ src/main.c Fri Jul 22 19:43:03 2005
|
|
@@ -1568,7 +1568,7 @@
|
|
void
|
|
rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str)
|
|
{
|
|
-#ifdef HAVE_WCHAR_H
|
|
+#ifdef HAVE_WCHAR_H && _FreeBSD_version >= 500000
|
|
wchar_t* ws = rxvt_mbstowcs (str);
|
|
char* s = rxvt_wcstoutf8 (ws);
|
|
|