Commit a5027c0f authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

varInsertTileSubtype: bug fix [report: Florian Prill].

parent 4e006be5
...@@ -368,7 +368,7 @@ paramNewEntry(int param) ...@@ -368,7 +368,7 @@ paramNewEntry(int param)
static static
int varInsertTileSubtype(vartable_t *vptr, const var_tile_t *tiles) int varInsertTileSubtype(vartable_t *vptr, const var_tile_t *tiles)
{ {
if ( tiles == NULL ) return -1; if ( tiles == NULL ) return 0;
// first, generate a subtype based on the info in "tiles". // first, generate a subtype based on the info in "tiles".
subtype_t *subtype_ptr; subtype_t *subtype_ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment