Fixed some syntax errors and clang compiling warnings

GCC/VS2013/Clang is tested
This commit is contained in:
cnjinhao
2015-01-03 22:04:06 +08:00
parent 1f559964f9
commit 0a5c85d21b
14 changed files with 150 additions and 161 deletions

View File

@@ -958,8 +958,7 @@ namespace nana
unsigned level_of_run = begin_character->level;
bool head_of_run = true;
std::vector<entity>::iterator last = end - 1;
std::vector<entity>::iterator begin_neutral = end;
auto begin_neutral = end;
//N1. A sequence of neutrals takes the direction of the surrounding strong text if the text on both sides has the same direction.
//European and Arabic numbers act as if they were R in terms of their influence on neutrals.