diff options
| author | Sam Varshavchik | 2017-03-09 06:47:37 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2017-03-09 06:47:37 -0500 | 
| commit | 914d160ada16463a76d42011aa8d721134fba9b8 (patch) | |
| tree | 0ca27e91d287778259c8b8f50b7cec0f5e4bafa4 /rfc2045/rfc2045reply.c | |
| parent | 51ba33a2e4b3a1e2679d240549c57963a845ae7c (diff) | |
| download | courier-libs-914d160ada16463a76d42011aa8d721134fba9b8.tar.bz2 | |
courier-unicode API update.
Diffstat (limited to 'rfc2045/rfc2045reply.c')
| -rw-r--r-- | rfc2045/rfc2045reply.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/rfc2045/rfc2045reply.c b/rfc2045/rfc2045reply.c index a3b57b5..da0d981 100644 --- a/rfc2045/rfc2045reply.c +++ b/rfc2045/rfc2045reply.c @@ -275,7 +275,7 @@ static int reply_begin(size_t quote_level,  		       void *arg)  {  	struct replyinfostruct *s=(struct replyinfostruct *)arg; -	unicode_char quoteChar='>'; +	char32_t quoteChar='>';  	/*  	** Save quote level, begin conversion from unicode to the native @@ -310,11 +310,11 @@ static int reply_begin(size_t quote_level,  ** RFC 3676: (possibly partial) contents of a deflowed line, as unicode.  */ -static int reply_contents(const unicode_char *txt, +static int reply_contents(const char32_t *txt,  			  size_t txt_size,  			  void *arg)  { -	unicode_char spaceChar=' '; +	char32_t spaceChar=' ';  	size_t nonspc_cnt;  	struct replyinfostruct *s=(struct replyinfostruct *)arg; @@ -380,7 +380,7 @@ static int reply_contents(const unicode_char *txt,  static int reply_end(void *arg)  { -	unicode_char newLine='\n'; +	char32_t newLine='\n';  	struct replyinfostruct *s=(struct replyinfostruct *)arg;  	unicode_convert_uc(s->u_handle, &newLine, 1); @@ -394,7 +394,7 @@ static int reply_end(void *arg)  */  static int reply_wrap(void *arg)  { -	unicode_char spaceChar=' '; +	char32_t spaceChar=' ';  	struct replyinfostruct *s=(struct replyinfostruct *)arg;  	/* | 
