src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Wed, 4 Mar 2015 06:45:57 +0000 (14:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 4 Mar 2015 06:45:57 +0000 (14:45 +0800)
src/Project/Gtk.vala

index 0644b90..fbd0aac 100644 (file)
@@ -168,7 +168,7 @@ namespace Project {
                                                
                                                // if we have a vala file with the same name 
                                                // then do not add it...
-                                               var vv = (new Regex("\\.c$").replace(fn, fn.legnth, 0, ".vala");
+                                               var vv = (new Regex("\\.c$")).replace(fn, fn.length, 0, ".vala");
                                                if (ret.index_of(vv) > -1) {
                                                        continue;
                                                }