diff --git a/tools/wad/wad.c b/tools/wad/wad.c index d5359843d..20ba73f09 100644 --- a/tools/wad/wad.c +++ b/tools/wad/wad.c @@ -227,7 +227,7 @@ static byte default_palette[] = { static int wad_extract (wad_t *wad, lumpinfo_t *pf) { - dstring_t name = {&dstring_default_mem, 0, 0, 0}; + static dstring_t name = {&dstring_default_mem, 0, 0, 0}; size_t count; int len, i; QFile *file;