Browse Source

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

pull/2/head
Alibek Omarov 1 year ago
parent
commit
4ed562697b
  1. 2
      engine/common/soundlib/snd_utils.c

2
engine/common/soundlib/snd_utils.c

@ -101,7 +101,7 @@ uint GAME_EXPORT Sound_GetApproxWavePlayLen( const char *filepath )
size_t filesize; size_t filesize;
uint msecs; uint msecs;
Q_strncpy( name, filepath, sizeof( filepath )); Q_strncpy( name, filepath, sizeof( name ));
COM_FixSlashes( name ); COM_FixSlashes( name );
f = FS_Open( name, "rb", false ); f = FS_Open( name, "rb", false );

Loading…
Cancel
Save