summaryrefslogtreecommitdiffstats
path: root/src/importers/mxpimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/importers/mxpimporter.cpp')
-rw-r--r--src/importers/mxpimporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/importers/mxpimporter.cpp b/src/importers/mxpimporter.cpp
index 22a4db4..9a0221f 100644
--- a/src/importers/mxpimporter.cpp
+++ b/src/importers/mxpimporter.cpp
@@ -142,7 +142,7 @@ void MXPImporter::loadCategories( TQTextStream &stream, Recipe &recipe )
while ( current.stripWhiteSpace() != "Amount Measure Ingredient -- Preparation Method" && !stream.atEnd() ) {
if ( !tmp_str.isEmpty() ) {
- TQStringList categories = TQStringList::split( " ", tmp_str );
+ TQStringList categories = TQStringList::split( "\t", tmp_str );
for ( TQStringList::const_iterator it = categories.begin(); it != categories.end(); ++it ) {
Element new_cat( ( *it ).stripWhiteSpace() );
recipe.categoryList.append( new_cat );