mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix wrong iterator bug
This commit is contained in:
parent
d69a5dea75
commit
7621b2807a
|
@ -146,7 +146,7 @@ struct number_converter
|
|||
}
|
||||
std::string copy(s);
|
||||
auto decimal_pt = std::find(copy.begin(), copy.end(), '.');
|
||||
if (decimal_pt != s.end())
|
||||
if (decimal_pt != copy.end())
|
||||
{
|
||||
*decimal_pt = ',';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user