diff options
Diffstat (limited to 'src/importers/nycgenericimporter.cpp')
| -rw-r--r-- | src/importers/nycgenericimporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/importers/nycgenericimporter.cpp b/src/importers/nycgenericimporter.cpp index 30e5bdf..d2b55a0 100644 --- a/src/importers/nycgenericimporter.cpp +++ b/src/importers/nycgenericimporter.cpp @@ -152,7 +152,7 @@ void NYCGenericImporter::loadIngredientLine( const TQString &line ) if ( !ingredient_line.empty() ) //probably an unnecessary check... but to be safe { bool ok; - MixedNumber test_amount = MixedNumber::fromString( ingredient_line[ 0 ], &ok ); + MixedNumber test_amount = MixedNumber::fromString( ingredient_line[ 0 ], &ok, /* locale_aware = */ false ); if ( ok ) { amount = amount + test_amount; @@ -163,7 +163,7 @@ void NYCGenericImporter::loadIngredientLine( const TQString &line ) if ( !ingredient_line.empty() ) //probably an unnecessary check... but to be safe { bool ok; - MixedNumber test_amount = MixedNumber::fromString( ingredient_line[ 0 ], &ok ); + MixedNumber test_amount = MixedNumber::fromString( ingredient_line[ 0 ], &ok, /* locale_aware = */ false ); if ( ok ) { amount = amount + test_amount; |
