Skip to content

Commit 111ea3c

Browse files
committed
fix array size
1 parent cd01253 commit 111ea3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Libraries/Source/WWVegas/WW3D2/w3d_dep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ bool Get_W3D_Dependencies (const char *w3d_filename, StringList &files)
118118

119119
// Get the W3D name from the filename.
120120
char w3d_name[W3D_NAME_LEN];
121-
Get_W3D_Name(w3d_filename, w3d_name, W3D_NAME_LEN);
121+
Get_W3D_Name(w3d_filename, w3d_name, ARRAY_SIZE(w3d_name));
122122

123123
// Create a chunk loader for this file, and scan the file.
124124
ChunkLoadClass cload(file);

0 commit comments

Comments
 (0)