summaryrefslogtreecommitdiffstats
path: root/sqwebmail/folder.c
diff options
context:
space:
mode:
authorSam Varshavchik2014-01-12 13:26:54 -0500
committerSam Varshavchik2014-01-12 13:26:54 -0500
commit40ed34ef54ac459116e2a37b63955c75a18a9441 (patch)
treeb4239ed6454f45853de0be3c5a8266e310f7f0b1 /sqwebmail/folder.c
parenta307e734a37763fc25778adffc2cd5c0d0390555 (diff)
downloadcourier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2
Reconfigure against the standalone unicode library.
Diffstat (limited to 'sqwebmail/folder.c')
-rw-r--r--sqwebmail/folder.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sqwebmail/folder.c b/sqwebmail/folder.c
index fb4a7db..04af2cb 100644
--- a/sqwebmail/folder.c
+++ b/sqwebmail/folder.c
@@ -68,7 +68,7 @@
#endif
#include <errno.h>
-#include "unicode/unicode.h"
+#include <unicode.h>
#include <unistd.h>
#if HAVE_WCHAR_H
@@ -190,7 +190,7 @@ int in_utf8;
printf("%s", lab);
origff=ff=in_utf8 ?
- libmail_u_convert_fromutf8(f,
+ unicode_convert_fromutf8(f,
sqwebmail_content_charset,
NULL)
: folder_fromutf7(f);
@@ -721,7 +721,7 @@ static void show_msg_match_str(const char *prefix,
{
char *p;
- p=libmail_u_convert_fromutf8(utf8match, sqwebmail_content_charset,
+ p=unicode_convert_fromutf8(utf8match, sqwebmail_content_charset,
NULL);
if (p)
@@ -3719,18 +3719,18 @@ static char *truncate_at(const char *str,
size_t n;
size_t cols, tp=0;
char *retbuf;
- libmail_u_convert_handle_t h;
+ unicode_convert_handle_t h;
int chopped=0;
if (!str)
return NULL;
- h=libmail_u_convert_tou_init("utf-8", &uc, &n, 1);
+ h=unicode_convert_tou_init("utf-8", &uc, &n, 1);
if (h)
{
- libmail_u_convert(h, str, strlen(str));
- libmail_u_convert_deinit(h, NULL);
+ unicode_convert(h, str, strlen(str));
+ unicode_convert_deinit(h, NULL);
}
else
{
@@ -3764,12 +3764,12 @@ static char *truncate_at(const char *str,
tp += 3;
}
- h=libmail_u_convert_fromu_init(charset, &retbuf, &cols, 1);
+ h=unicode_convert_fromu_init(charset, &retbuf, &cols, 1);
if (h)
{
- libmail_u_convert_uc(h, uc, tp);
- libmail_u_convert_deinit(h, NULL);
+ unicode_convert_uc(h, uc, tp);
+ unicode_convert_deinit(h, NULL);
}
else
{