Browse Source

v.patch: fix #1488 (#1492)

Markus Metz 4 năm trước cách đây
mục cha
commit
d6a1ec5fa9
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      vector/v.patch/main.c

+ 3 - 0
vector/v.patch/main.c

@@ -211,6 +211,9 @@ int main(int argc, char *argv[])
 		}
 		db_close_database_shutdown_driver(driver_in);
 	    }
+	    else {
+		G_fatal_error(_("Missing attribute table for vector map <%s>"), in_name);
+	    }
 
 	    /* Get the output table structure */
 	    if (i == 0 ) {