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.10 6.9 6.8 Change-Id: I88b850975aa77b6175e8d95afa2960e589c42d8d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4d4843df42
commit
65365e9bb7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user