engine: soundlib: fix sizeof parameter in previous commit, I'm an idiot
This commit is contained in:
parent
64166c7d82
commit
4ed562697b
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ uint GAME_EXPORT Sound_GetApproxWavePlayLen( const char *filepath )
|
|||
size_t filesize;
|
||||
uint msecs;
|
||||
|
||||
Q_strncpy( name, filepath, sizeof( filepath ));
|
||||
Q_strncpy( name, filepath, sizeof( name ));
|
||||
COM_FixSlashes( name );
|
||||
|
||||
f = FS_Open( name, "rb", false );
|
||||
|
|
Loading…
Add table
Reference in a new issue