Преглед изворни кода

interrogate: write out OS-generic filenames in #include directives

Fixes #386
rdb пре 7 година
родитељ
комит
8b3cc74cad
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dtool/src/interrogate/interrogate.cxx

+ 1 - 1
dtool/src/interrogate/interrogate.cxx

@@ -516,7 +516,7 @@ main(int argc, char **argv) {
       cerr << "Error parsing file: '" << argv[i] << "'\n";
       exit(1);
     }
-    builder.add_source_file(filename);
+    builder.add_source_file(filename.to_os_generic());
   }
 
   // Now that we've parsed all the source code, change the way things are