freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 15eab36: [autofit] Fix compilation with VS2016 (#4812


From: Werner LEMBERG
Subject: [freetype2] master 15eab36: [autofit] Fix compilation with VS2016 (#48126).
Date: Tue, 7 Jun 2016 08:54:05 +0000 (UTC)

branch: master
commit 15eab363402c826d9ed0f300eb1020ee9b2ad379
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    [autofit] Fix compilation with VS2016 (#48126).
    
    This compiler doesn't recognize the end-of-comment sequence `*/' if
    it immediately follows non-ASCII characters.
    
    * src/autofit/afscript.h: Ensure whitespace before `*/'.
---
 ChangeLog              |    9 +++++++++
 src/autofit/afscript.h |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e5142c9..44c2181 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-06-07  Werner Lemberg  <address@hidden>
+
+       [autofit] Fix compilation with VS2016 (#48126).
+
+       This compiler doesn't recognize the end-of-comment sequence `*/' if
+       it immediately follows non-ASCII characters.
+
+       * src/autofit/afscript.h: Ensure whitespace before `*/'.
+
 2016-06-04  Werner Lemberg  <address@hidden>
 
        Fix a test for named instances (#48122).
diff --git a/src/autofit/afscript.h b/src/autofit/afscript.h
index 7479ac5..660eca7 100644
--- a/src/autofit/afscript.h
+++ b/src/autofit/afscript.h
@@ -47,7 +47,7 @@
           "Bengali",
           HB_SCRIPT_BENGALI,
           HINTING_TOP_TO_BOTTOM,
-          "\xE0\xA7\xA6 \xE0\xA7\xAA" ) /* ০ ৪*/
+          "\xE0\xA7\xA6 \xE0\xA7\xAA" ) /* ০ ৪ */
 
   SCRIPT( cyrl, CYRL,
           "Cyrillic",
@@ -89,7 +89,7 @@
           "Gurmukhi",
           HB_SCRIPT_GURMUKHI,
           HINTING_TOP_TO_BOTTOM,
-          "\xE0\xA8\xA0 \xE0\xA8\xB0 \xE0\xA9\xA6" ) /* ਠ ਰ ੦*/
+          "\xE0\xA8\xA0 \xE0\xA8\xB0 \xE0\xA9\xA6" ) /* ਠ ਰ ੦ */
 
   SCRIPT( hebr, HEBR,
           "Hebrew",



reply via email to

[Prev in Thread] Current Thread [Next in Thread]