summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/charconv/utf8.c4
-rw-r--r--pith/pine.hlp2
2 files changed, 3 insertions, 3 deletions
diff --git a/pith/charconv/utf8.c b/pith/charconv/utf8.c
index bdf84ecc..7e1ae456 100644
--- a/pith/charconv/utf8.c
+++ b/pith/charconv/utf8.c
@@ -92,7 +92,7 @@ wcellwidth(UCS ucs)
return((w & U4W_ERROR) ? -1 : w);
}
}
-#ifndef _WINDOWS
+#if !defined(_WINDOWS) && HAVE_WCWIDTH
else
return(wcwidth((wchar_t) ucs));
#else
@@ -104,7 +104,7 @@ wcellwidth(UCS ucs)
int
pith_ucs4width(UCS ucs)
{
-#ifndef _WINDOWS
+#if !defined(_WINDOWS) && HAVE_WCWIDTH
return wcwidth((wchar_t) ucs);
#else
return (ucs >= 0x2100) ? 2 : 1;
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 273571d0..52b7dffa 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 216 2017-09-19 21:56:28
+Alpine Commit 217 2017-09-22 17:01:27
============= h_news =================
<HTML>
<HEAD>