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 <thiago.macieira@intel.com>
(cherry picked from commit 65365e9bb796c9921441bdb20655cf8224ee1b8b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e359fc7ec5689501240f5d14773ef8c1b07f32c3)
This commit is contained in:
Edward Welbourne 2025-06-03 20:12:12 +02:00 committed by Qt Cherry-pick Bot
parent fc87d35926
commit ab961b4523

View File

@ -83,7 +83,7 @@ void qt_doubleToAscii(double d, QLocaleData::DoubleForm form, int precision,
template <typename UcsInt>
[[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;