From ab961b45237aaaa96f35966298c654cb2a98df17 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 3 Jun 2025 20:12:12 +0200 Subject: [PATCH] Fix typo in qlocale_tools_p.h unicodeForDigit() comment Got the name of the numeric tokenizer helper wrong, making the cross-reference comment misleading. Pick-to: 6.8 Change-Id: I88b850975aa77b6175e8d95afa2960e589c42d8d Reviewed-by: Thiago Macieira (cherry picked from commit 65365e9bb796c9921441bdb20655cf8224ee1b8b) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit e359fc7ec5689501240f5d14773ef8c1b07f32c3) --- src/corelib/text/qlocale_tools_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/text/qlocale_tools_p.h b/src/corelib/text/qlocale_tools_p.h index 378d522035c..988b287bbc6 100644 --- a/src/corelib/text/qlocale_tools_p.h +++ b/src/corelib/text/qlocale_tools_p.h @@ -83,7 +83,7 @@ void qt_doubleToAscii(double d, QLocaleData::DoubleForm form, int precision, template [[nodiscard]] inline UcsInt unicodeForDigit(uint digit, UcsInt zero) { - // Must match qlocale.cpp's NumberTokenizer's digit-digestion. + // Must match qlocale.cpp's NumericTokenizer's digit-digestion. Q_ASSERT(digit < 10); if (!digit) return zero;