Skip to content
Permalink
Browse files

fix #5269

  • Loading branch information
alexbruy committed Oct 5, 2012
1 parent 21eb6cf commit b326276398f41a44e2a142085adb1de647f15700
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorfilewriter.cpp
@@ -295,7 +295,7 @@ QgsVectorFileWriter::QgsVectorFileWriter(

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

0 comments on commit b326276

Please sign in to comment.
You can’t perform that action at this time.