diff --git a/src/shp_processor.cpp b/src/shp_processor.cpp index a9c0fe0d..0cbe5c33 100644 --- a/src/shp_processor.cpp +++ b/src/shp_processor.cpp @@ -159,7 +159,7 @@ void ShpProcessor::read(class LayerDef &layer, uint layerNum) bool hasName = false; if (indexField>-1) { std::lock_guard lock(attributeMutex); - name=DBFReadStringAttribute(dbf, i, indexField); hasName = true + name=DBFReadStringAttribute(dbf, i, indexField); hasName = true; } AttributeIndex attrIdx = readShapefileAttributes(dbf, i, columnMap, columnTypeMap, layer, layer.minzoom); // process geometry