Implemented alternate fix for Linux paths (2)

This commit is contained in:
ZZYZX 2019-12-14 23:52:12 +02:00
parent f0aee1e174
commit 714bb84204

View file

@ -844,9 +844,10 @@ namespace CodeImp.DoomBuilder.IO
// Determine the full path of the file to include // Determine the full path of the file to include
string includefile = Path.GetDirectoryName(file) + Path.DirectorySeparatorChar + args[0]; string includefile = Path.GetDirectoryName(file) + Path.DirectorySeparatorChar + args[0];
includefile = includefile.Replace('\\', '/');
//mxd. Caching //mxd. Caching
if(cfgcache.ContainsKey(includefile)) if (cfgcache.ContainsKey(includefile))
{ {
IDictionary cinc = cfgcache[includefile]; IDictionary cinc = cfgcache[includefile];