Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for a crash when loading a delimited text file where the delimiter
doesn't parse the file into multiple columns


git-svn-id: http://svn.osgeo.org/qgis/trunk@7391 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Nov 13, 2007
1 parent 93104c9 commit 25435b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/delimitedtext/qgsdelimitedtextprovider.cpp
Expand Up @@ -178,7 +178,7 @@ QgsDelimitedTextProvider::QgsDelimitedTextProvider(QString uri)
QgsDebugMsg("Field count for the delimited text file is " + QString::number(attributeFields.size()));
hasFields = true;
}
else
else if (mXFieldIndex != -1 && mYFieldIndex != -1)
{
mNumberFeatures++;

Expand Down

0 comments on commit 25435b5

Please sign in to comment.