mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
- removed directsound related references as it has been deprecated since 3.6.0.1
- coverity related fixes
This commit is contained in:
@@ -256,7 +256,7 @@ int processMesh(xmlNode *n, FILE *outfile)
|
||||
|
||||
/* populate the MeshHeader structure appropriately */
|
||||
memset(&mh, 0, sizeof(struct MeshHeader));
|
||||
strncpy((char*)mh.name, (char*)xmlGetProp(n, name), NAMESIZE);
|
||||
strncpy((char*)mh.name, (char*)xmlGetProp(n, name), NAMESIZE-1);
|
||||
mh.frameCount = (uint32)atoi((char*)xmlGetProp(n, frameCount));
|
||||
mh.vertexCount = (uint32)atoi((char*)xmlGetProp(n, vertexCount));
|
||||
mh.indexCount = (uint32)atoi((char*)xmlGetProp(n, indexCount));
|
||||
|
Reference in New Issue
Block a user