]> git.mxchange.org Git - flightgear.git/blobdiff - Polygon/names.cxx
Removed an unused variable.
[flightgear.git] / Polygon / names.cxx
index 6d94f88c1b5b0842961e33a15d3f325fdb107a34..7e6d2a320e5f002142823a77ea8a6917fb7a53ae 100644 (file)
@@ -30,7 +30,7 @@
 
 // return the type of the shapefile record
 AreaType get_shapefile_type(GDBFile *dbf, int rec) {
-    GDBFieldDesc *fdesc[128];  // 128 is an arbitrary number here
+    // GDBFieldDesc *fdesc[128];       // 128 is an arbitrary number here
     GDBFValue *fields;         //an array of field values
     char* dbf_rec;             //a record containing all the fields
 
@@ -78,7 +78,8 @@ AreaType get_area_type( string area ) {
     } else if ( (area == "Swamp or Marsh")
                || (area == "Marsh") ) {
        return MarshArea;
-    } else if ( area == "Bay  Estuary or Ocean" ) {
+    } else if ( (area == "Bay  Estuary or Ocean")
+                || (area == "Ocean") ) {
        return OceanArea;
     } else if ( area == "Lake" ) {
        return LakeArea;
@@ -150,6 +151,12 @@ string get_area_name( AreaType area ) {
 
 
 // $Log$
+// Revision 1.4  1999/03/13 18:47:04  curt
+// Removed an unused variable.
+//
+// Revision 1.3  1999/03/02 01:03:58  curt
+// Added more reverse lookup support.
+//
 // Revision 1.2  1999/03/01 15:35:52  curt
 // Generalized the routines a bit to make them more useful.
 //