diff options
| author | Sam Varshavchik | 2014-01-12 13:26:54 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2014-01-12 13:26:54 -0500 | 
| commit | 40ed34ef54ac459116e2a37b63955c75a18a9441 (patch) | |
| tree | b4239ed6454f45853de0be3c5a8266e310f7f0b1 /sqwebmail/autoresponse.c | |
| parent | a307e734a37763fc25778adffc2cd5c0d0390555 (diff) | |
| download | courier-libs-40ed34ef54ac459116e2a37b63955c75a18a9441.tar.bz2 | |
Reconfigure against the standalone unicode library.
Diffstat (limited to 'sqwebmail/autoresponse.c')
| -rw-r--r-- | sqwebmail/autoresponse.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/sqwebmail/autoresponse.c b/sqwebmail/autoresponse.c index c14e345..e5fdfee 100644 --- a/sqwebmail/autoresponse.c +++ b/sqwebmail/autoresponse.c @@ -10,7 +10,7 @@  #include	"autoresponse.h"  #include	"maildir/autoresponse.h"  #include	"mailfilter.h" -#include	"unicode/unicode.h" +#include	<unicode.h>  #include	"sqwebmail.h"  #include	"htmllibdir.h"  #include	"maildir.h" @@ -146,11 +146,11 @@ const char	*autoresp_text2=getarg("TEXT2");  		else  		{  			struct show_textarea_info info; -			libmail_u_convert_handle_t h; +			unicode_convert_handle_t h;  			show_textarea_init(&info, 0); -			h=libmail_u_convert_init("utf-8", +			h=unicode_convert_init("utf-8",  						 sqwebmail_content_charset,  						 show_autoresponse_trampoline,  						 &info); @@ -162,9 +162,9 @@ const char	*autoresp_text2=getarg("TEXT2");  				while ((i=fread(buf, 1, sizeof(buf), fp)) > 0)  				{ -					libmail_u_convert(h, buf, i); +					unicode_convert(h, buf, i);  				} -				libmail_u_convert_deinit(h, NULL); +				unicode_convert_deinit(h, NULL);  			}  		} | 
