mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Implemented alternate fix for Linux paths (to-do: add case-insensitive hack later)
This commit is contained in:
parent
2c3013f74c
commit
5295f7f590
1 changed files with 3 additions and 3 deletions
|
@ -77,9 +77,9 @@ namespace CodeImp.DoomBuilder.Config
|
|||
{
|
||||
if(de.Key.ToString() != "interface" && de.Key.ToString() != "program")
|
||||
{
|
||||
//mxd
|
||||
string include = de.Value.ToString().Replace(System.IO.Path.AltDirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);
|
||||
if(files.Contains(include))
|
||||
//mxd
|
||||
string include = de.Value.ToString().Replace('\\', '/');
|
||||
if (files.Contains(include))
|
||||
General.ErrorLogger.Add(ErrorType.Warning, "Include file \"" + de.Value + "\" is double defined in \"" + name + "\" compiler configuration");
|
||||
else
|
||||
files.Add(include);
|
||||
|
|
Loading…
Reference in a new issue