diff options
Diffstat (limited to 'src/corelib/text/qunicodetables_p.h')
-rw-r--r-- | src/corelib/text/qunicodetables_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/text/qunicodetables_p.h b/src/corelib/text/qunicodetables_p.h index cb7a211cb6..d54075d274 100644 --- a/src/corelib/text/qunicodetables_p.h +++ b/src/corelib/text/qunicodetables_p.h @@ -88,8 +88,8 @@ struct Properties { #endif ushort graphemeBreakClass : 5; /* 5 used */ ushort wordBreakClass : 5; /* 5 used */ - ushort sentenceBreakClass : 8; /* 4 used */ ushort lineBreakClass : 6; /* 6 used */ + ushort sentenceBreakClass : 8; /* 4 used */ ushort script : 8; }; @@ -128,6 +128,8 @@ struct CasefoldTraits { return prop->caseFoldSpecial; } }; +Q_STATIC_ASSERT(sizeof(Properties) == 20); + enum GraphemeBreakClass { GraphemeBreak_Any, GraphemeBreak_CR, |