diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-05-22 19:29:25 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-05-24 22:20:02 +0200 |
| commit | 951a310989cd0dba1e765095c74e607d626c3f9f (patch) | |
| tree | 9f7c95c02abaaab29881f6619dea9983134505a5 /src/container | |
| parent | 3d77d3a8aa0540fb487810c6278337c7130c9d29 (diff) | |
| download | jancity-951a310989cd0dba1e765095c74e607d626c3f9f.tar.gz | |
Allow systems without sound support
Diffstat (limited to 'src/container')
| -rw-r--r-- | src/container/src/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/container/src/container.c b/src/container/src/container.c index 5c568a9..a6b8733 100644 --- a/src/container/src/container.c +++ b/src/container/src/container.c @@ -67,7 +67,7 @@ static int read_file_contents(const struct container *const el, FILE *const f, break; case CONTAINER_TYPE_SOUND: - if (sfx_sound_from_fp(el->data.sound, f)) + if (sfx_sound_from_fp(el->data.sound, f, sz)) goto end; break; |
