mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:30:04 +00:00
Handle 8-bit ASCII characters in product units >= 128
This commit is contained in:
parent
b56c43197f
commit
fb4e111f84
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ bool RadarProductLayer::RunMousePicking(
|
|||
// displayed
|
||||
hoverText = fmt::format("{}{}", f, suffix);
|
||||
}
|
||||
else if (std::isalpha(units.at(0)))
|
||||
else if (std::isalpha(static_cast<unsigned char>(units.at(0))))
|
||||
{
|
||||
// dBZ, Kts, etc.
|
||||
hoverText = fmt::format("{} {}{}", f, units, suffix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue