Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #5269
  • Loading branch information
alexbruy committed Oct 5, 2012
1 parent 21eb6cf commit b326276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Expand Up @@ -295,7 +295,7 @@ QgsVectorFileWriter::QgsVectorFileWriter(

case QVariant::String:
ogrType = OFTString;
if ( ogrWidth < 0 || ogrWidth > 255 )
if ( ogrWidth <= 0 || ogrWidth > 255 )
ogrWidth = 255;
break;

Expand Down

0 comments on commit b326276

Please sign in to comment.