Mercurial > hg > dmlib
diff tools/data2inc.c @ 2250:956db0095f82
Change struct member name.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Jun 2019 21:39:08 +0300 |
parents | d76b0c92769d |
children | d736ff74663b |
line wrap: on
line diff
--- a/tools/data2inc.c Sat Jun 15 20:20:57 2019 +0300 +++ b/tools/data2inc.c Sat Jun 15 21:39:08 2019 +0300 @@ -24,7 +24,7 @@ char *desc; char *fexts[SET_MAX_FEXTS]; - char *type; + char *defDataType; void (*writeHeader) (FILE *fh, const char *name); void (*writeDecl) (FILE *fh, const size_t len, const char *name); @@ -417,7 +417,7 @@ // Set some option defaults if (optDataType == NULL) - optDataType = setFormat->type; + optDataType = setFormat->defDataType; // Open the files if (optInFilename == NULL)