engine: soundlib: fix sizeof parameter in previous commit, I'm an idiot

This commit is contained in:
Alibek Omarov 2023-08-18 11:50:58 +03:00
parent 64166c7d82
commit 4ed562697b

View File

@ -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 );