diff --git a/shp_2_txt.cpp b/shp_2_txt.cpp index 590dedb..20f4b60 100644 --- a/shp_2_txt.cpp +++ b/shp_2_txt.cpp @@ -14,7 +14,7 @@ int main(int argc, char const *argv[]) int i, iRecord; char *pszFilename = NULL; int nWidth, nDecimals; - char szTitle[12]; + char szTitle[12]; string filename = "f:\\testing\\shp_2_txt\\MA.dbf"; ofstream txt_file("out.txt"); @@ -32,11 +32,11 @@ int main(int argc, char const *argv[]) for( i = 0; i < DBFGetFieldCount(dbfh); i++ ) { - DBFFieldType eType; - eType = DBFGetFieldInfo( dbfh, i, szTitle, &nWidth, &nDecimals ); - string dec_lat = "DEC_LAT"; - string dec_lon = "DEC_LON"; - string ellip_h = "ELLIP_HT"; + DBFFieldType eType; + eType = DBFGetFieldInfo( dbfh, i, szTitle, &nWidth, &nDecimals ); + string dec_lat = "DEC_LAT"; + string dec_lon = "DEC_LON"; + string ellip_h = "ELLIP_HT"; string ortho_h = "ORTHO_HT"; string str(szTitle); string line;