bugfix
[svjatoslav_commons.git] / src / main / java / eu / svjatoslav / commons / file / CommonPathResolver.java
index d3c1f9f..eb32089 100644 (file)
@@ -43,7 +43,7 @@ public class CommonPathResolver {
                        final String desktopPath = userHomePath + "/" + desktopName;
 
                        final File possibleDesktopFile = new File(desktopPath);
-                       if (desktopFile.exists()) {
+                       if (possibleDesktopFile.exists()) {
                                desktopFile = possibleDesktopFile;
                                return desktopFile;
                        }