oops, my python is leaking

This commit is contained in:
Thomas Fussell 2016-06-18 23:13:52 +01:00
parent 03080dbe1f
commit d194fe9640

View File

@ -646,7 +646,7 @@ std::string format_section(long double number, const section &format, xlnt::cale
auto between = format.value.substr(prev, index - prev); auto between = format.value.substr(prev, index - prev);
if (between == "/" and part == "pm") if (between == "/" && part == "pm")
{ {
index += part.size(); index += part.size();
prev = index; prev = index;