Jelajahi Sumber

Minor fix for locating .rc files

rdb 16 tahun lalu
induk
melakukan
e85f1eca34
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      makepanda/makepandacore.py

+ 1 - 0
makepanda/makepandacore.py

@@ -1189,6 +1189,7 @@ def CalcLocation(fn, ipath):
     if (fn.endswith(".c")):   return CxxFindSource(fn, ipath)
     if (fn.endswith(".yxx")): return CxxFindSource(fn, ipath)
     if (fn.endswith(".lxx")): return CxxFindSource(fn, ipath)
+    if (fn.endswith(".rc")):  return CxxFindSource(fn, ipath)
     if (fn.endswith(".mll")): return OUTPUTDIR+"/plugins/"+fn
     if (sys.platform == "win32"):
         if (fn.endswith(".def")): return CxxFindSource(fn, ipath)