diff options
| author | Sam Varshavchik | 2021-02-13 23:30:50 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2021-02-13 23:30:50 -0500 | 
| commit | 688f31b2d1a5e0735661a829d7f743f9a0b68050 (patch) | |
| tree | c2a23e4d760d8d1b72f07e0c8b108f2d46315ce2 /unicode/unicodecpp.C | |
| parent | 2db8a28d72bee3746ce6d06bf5c0896e46269492 (diff) | |
| download | courier-libs-688f31b2d1a5e0735661a829d7f743f9a0b68050.tar.bz2 | |
2021-02-13  Sam Varshavchik  <mrsam@courier-mta.com>
	* courier-unicode-version.m4: split version checking macro into its
	own m4 file.
	* unicode::bidi_calc - an empty string with an explicit embedding
	level should return the requested embedding level.
Diffstat (limited to 'unicode/unicodecpp.C')
| -rw-r--r-- | unicode/unicodecpp.C | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/unicode/unicodecpp.C b/unicode/unicodecpp.C index babb6bb..7038129 100644 --- a/unicode/unicodecpp.C +++ b/unicode/unicodecpp.C @@ -606,7 +606,8 @@ unicode::bidi_calc(const bidi_calc_types &st,  		ret;  	std::get<0>(ret).resize(st.s.size()); -	std::get<1>(ret)=UNICODE_BIDI_LR; +	std::get<1>(ret)=initial_embedding_level ? +		paragraph_embedding_level : UNICODE_BIDI_LR;  	if (st.s.size())  	{ | 
