diff --git a/linuxdoom-1.10/d_main.c b/linuxdoom-1.10/d_main.c index 23427e8cf..0d5276287 100644 --- a/linuxdoom-1.10/d_main.c +++ b/linuxdoom-1.10/d_main.c @@ -584,7 +584,7 @@ void IdentifyVersion (void) sprintf(doom2wad, "%s/doom2.wad", doomwaddir); // Retail. - doomuwad = malloc(strlen(doomwaddir)+1+8+1); + doomuwad = malloc(strlen(doomwaddir)+1+9+1); sprintf(doomuwad, "%s/doomu.wad", doomwaddir); // Registered.