aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index ad529ce4be..6889d47b99 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -256,7 +256,7 @@ GameDescriptor GameDetector::findGame(const String &gameName, const Plugin **plu
GameDescriptor result;
if (plugin)
- plugin = 0;
+ *plugin = 0;
PluginList::const_iterator iter = plugins.begin();
for (iter = plugins.begin(); iter != plugins.end(); ++iter) {