[go: nahoru, domu]

Remove multi-byte character constants.
http://codereview.appspot.com/6305117/


git-svn-id: http://skia.googlecode.com/svn/trunk/src@4317 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/sfnt/SkOTTable_name.h b/sfnt/SkOTTable_name.h
index 6762086..3ee72f2 100644
--- a/sfnt/SkOTTable_name.h
+++ b/sfnt/SkOTTable_name.h
@@ -15,6 +15,12 @@
 #pragma pack(push, 1)
 
 struct SkOTTableName {
+    static const SK_OT_CHAR TAG0 = 'n';
+    static const SK_OT_CHAR TAG1 = 'a';
+    static const SK_OT_CHAR TAG2 = 'm';
+    static const SK_OT_CHAR TAG3 = 'e';
+    static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableName>::value;
+
     SK_OT_USHORT format;
     static const SK_OT_USHORT format_0 = SkTEndian_SwapBE16(0);
     static const SK_OT_USHORT format_1 = SkTEndian_SwapBE16(1);