Browse Source

add layer number to cat list

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55481 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
e3e21fe9e3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/vector/Vlib/cats.c

+ 2 - 0
lib/vector/Vlib/cats.c

@@ -586,6 +586,8 @@ struct cat_list *Vect_cats_set_constraint(struct Map_info *Map, int layer,
 	    Vect_destroy_cat_list(list);
 	    list = NULL;
 	}
+	else
+	    list->field = layer;
     }
 	
     return list;