Fix use-of-uninitialized

This commit is contained in:
simon.kagstrom 2010-03-19 16:57:22 +00:00
parent 9457a76210
commit 90cc8d94ac

View File

@ -145,6 +145,7 @@ GameInfo::GameInfo(const char *filename,
this->name = xstrdup(filename);
else
this->name = xstrdup(name);
this->author = xstrdup(author);
this->screenshot = image;
this->score = 0;
this->year = 1982;