changeset 959:9a422d610058

Fix something coverity reports as "copy-paste error" (actually it doesn't matter, but the fix reads better)
author Chris Cannam
date Wed, 03 Sep 2014 09:48:51 +0100
parents f3c97321e43d
children 5173e56e17f7
files base/ResourceFinder.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/ResourceFinder.cpp	Wed Sep 03 09:47:52 2014 +0100
+++ b/base/ResourceFinder.cpp	Wed Sep 03 09:48:51 2014 +0100
@@ -218,7 +218,7 @@
         QString save = QString("%1%2").arg(user).arg(resourceCat);
         QDir saveDir(save);
         if (!saveDir.exists()) {
-            if (!userDir.mkpath(save)) {
+            if (!saveDir.mkpath(save)) {
                 cerr << "ResourceFinder::getResourceSaveDir: ERROR: Failed to create user resource path \"" << save << "\"" << endl;
                 return "";
             }