src/Palete/ValaSourceCompiler.vala
authorAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 06:08:41 +0000 (14:08 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 06:08:41 +0000 (14:08 +0800)
src/Palete/ValaSourceCompiler.vala

index 8749c1b..cad265e 100644 (file)
@@ -321,7 +321,7 @@ namespace Palete {
                                        
                                 
                                        
-                                       if (Regex.match_simple("\\.c$", relpath)) {
+                                       if (Regex.match_simple("\\.c$", path)) {
                                                context.add_c_source_file(path);
                                                continue;
                                        }