summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/unicode/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp
index 4b3a52b088..b535ac8c8e 100644
--- a/util/unicode/main.cpp
+++ b/util/unicode/main.cpp
@@ -1913,12 +1913,10 @@ QByteArray createScriptEnumDeclaration()
declaration += " = Common";
}
- declaration += "\n };\n";
+ declaration += "\n };\n\n";
scriptSentinel = ((uniqueScripts + 16) / 32) * 32; // a multiple of 32
- declaration += " enum { ScriptSentinel = ";
- declaration += QByteArray::number(scriptSentinel);
- declaration += " };\n\n";
+
return declaration;
}
@@ -2017,6 +2015,8 @@ QByteArray createScriptTableDeclaration()
}
declaration += "\n};\n\n";
+ declaration += "enum { ScriptSentinel = " + QByteArray::number(scriptSentinel) + " };\n\n";
+
declaration +=
"Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)\n"
"{\n"