Ticket #7995: simon2.diff

File simon2.diff, 501 bytes (added by eriktorbjorn, 18 years ago)

Trivial patch

  • scummvm/simon/simonres.cpp

    diff -ur ScummVM-cvs20020731/scummvm/simon/simonres.cpp ScummVM-cvs20020731+hack/scummvm/simon/simonres.cpp
    old new  
    9898        char buf[256], dotbuf[256], *e;
    9999        const char *s = _game_path;
    100100
     101        if (filename == NULL || *filename == '\0')
     102                return NULL;
     103       
    101104        strcpy(buf, s);
    102105        strcat(buf, filename);
    103106        strcpy(dotbuf, buf);