Skip to content

Commit

Permalink
save as: also use numeric postfix in spatialite (followup ac21c62)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 12, 2013
1 parent f7e9b47 commit 20e969e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Expand Up @@ -356,7 +356,7 @@ QgsVectorFileWriter::QgsVectorFileWriter(

QString name( attrField.name() );

if ( driverName == "SQLite" && name.compare( "ogc_fid", Qt::CaseInsensitive ) == 0 )
if ( ogrDriverName == "SQLite" && name.compare( "ogc_fid", Qt::CaseInsensitive ) == 0 )
{
int i;
for ( i = 0; i < 10; i++ )
Expand Down

0 comments on commit 20e969e

Please sign in to comment.