diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gfxinit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index c23f0a816..f0c529d4d 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -469,7 +469,7 @@ bool OBGFileScanner::AddFile(const char *filename, size_t basepath_length) if (FillGraphicsSetDetails(graphics, ini, path)) { bool duplicate = false; for (const GraphicsSet *c = _available_graphics_sets; !duplicate && c != NULL; c = c->next) { - duplicate = (strcmp(c->name, graphics->name) == 0) || (c->shortname == graphics->shortname && c->version == graphics->version); + duplicate = (strcmp(c->name, graphics->name) == 0 || c->shortname == graphics->shortname) && c->version == graphics->version; } if (duplicate) { delete graphics; |