src/Resources.vala
authorAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 07:03:57 +0000 (15:03 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 07:03:57 +0000 (15:03 +0800)
src/Resources.vala

index bcaf9dd..2956232 100644 (file)
@@ -160,7 +160,11 @@ public class Resources : Object
        public bool files_has_target(string target)
        {
                for (var i = 0; i <  this.fetch_files.length; i++ ) { 
-                       if (this.fetch_files.
+                       if (this.fetch_files.get(i).target == target) { 
+                               return true;
+                       }
+               }
+               return false;
                
        }