summaryrefslogtreecommitdiff
path: root/jni/physfs-serve-sdl-wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'jni/physfs-serve-sdl-wrap.c')
-rw-r--r--jni/physfs-serve-sdl-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/physfs-serve-sdl-wrap.c b/jni/physfs-serve-sdl-wrap.c
index ccdbce4..c0de9df 100644
--- a/jni/physfs-serve-sdl-wrap.c
+++ b/jni/physfs-serve-sdl-wrap.c
@@ -126,7 +126,7 @@ path_rewrite(struct physfs_serve *serve, char buf[], const size_t bufsz, struct
buf[strlen(buf) - 1] = 'm';
if (st->filetype == -1 && PHYSFS_stat(buf, st)) return false;
} else if (physfs_ends_with(buf, ".webm")) {
- buf[strlen(buf) - 1] = '0';
+ buf[strlen(buf) - 1] = 0;
buf[strlen(buf) - 2] = '4';
buf[strlen(buf) - 3] = 'p';
buf[strlen(buf) - 4] = 'm';