summaryrefslogtreecommitdiffstats
path: root/util/unicode
diff options
context:
space:
mode:
Diffstat (limited to 'util/unicode')
-rw-r--r--util/unicode/README3
-rw-r--r--util/unicode/main.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/util/unicode/README b/util/unicode/README
index 29594b6caa..0a3926906d 100644
--- a/util/unicode/README
+++ b/util/unicode/README
@@ -37,6 +37,9 @@ To update:
the same time and update text/qt_attribution.json to match; use the
UCD Revision number, rather than the Unicode standard number, as the
Version, for all that qunicodetables.cpp uses the latter.
+* If there are enum additions in qchar.h (public API), be sure to also
+ update the documentation in qchar.cpp for each affected enum,
+ respecting the existing ordering.
* If you don't normally build in the source tree, remember to delete
qtbase/.qmake.stash while you're cleaning up.
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp
index c3465b3045..2fc49221dc 100644
--- a/util/unicode/main.cpp
+++ b/util/unicode/main.cpp
@@ -294,7 +294,7 @@ static const char *grapheme_break_class_string =
" Graphemebreak_E_Modifier,\n"
" Graphemebreak_Glue_After_Zwj,\n"
" Graphemebreak_E_Base_GAZ,\n"
- " NumGraphemeBreakClasses,\n"
+ " NumGraphemeBreakClasses\n"
"};\n\n";
enum GraphemeBreakClass {
@@ -381,7 +381,7 @@ static const char *word_break_class_string =
" WordBreak_Glue_After_Zwj,\n"
" WordBreak_E_Base_GAZ,\n"
" WordBreak_WSegSpace,\n"
- " NumWordBreakClasses,\n"
+ " NumWordBreakClasses\n"
"};\n\n";
enum WordBreakClass {