From c488e843b8d39e85ca21c7ae15814034d0bc0d03 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 3 Sep 2015 16:30:22 +0800 Subject: [PATCH] Fix typo and and add quotation The quotation added is for Chinese Simplified which I discovered usage in translation work. --- lib/irrlicht/include/utfwrapping.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/irrlicht/include/utfwrapping.h b/lib/irrlicht/include/utfwrapping.h index ee97be9e2..8d67c6ea3 100644 --- a/lib/irrlicht/include/utfwrapping.h +++ b/lib/irrlicht/include/utfwrapping.h @@ -17,6 +17,10 @@ bool UtfNoStarting (wchar_t c) { switch (c) { + case 8217: //’ + return true; + case 8221: //” + return true; case 12293: //々 return true; case 12297: //〉 @@ -66,6 +70,10 @@ bool UtfNoEnding (wchar_t c) { switch (c) { + case 8216: //‘ + return true; + case 8220: //“ + return true; case 12296: //〈 return true; case 12298: //《 @@ -100,5 +108,5 @@ bool breakable (wchar_t c) return true; return false; } -} // end namespace core +} // end namespace gui } // end namespace irr