mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +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")
|
if(de.Key.ToString() != "interface" && de.Key.ToString() != "program")
|
||||||
{
|
{
|
||||||
//mxd
|
//mxd
|
||||||
string include = de.Value.ToString().Replace(System.IO.Path.AltDirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);
|
string include = de.Value.ToString().Replace('\\', '/');
|
||||||
if(files.Contains(include))
|
if (files.Contains(include))
|
||||||
General.ErrorLogger.Add(ErrorType.Warning, "Include file \"" + de.Value + "\" is double defined in \"" + name + "\" compiler configuration");
|
General.ErrorLogger.Add(ErrorType.Warning, "Include file \"" + de.Value + "\" is double defined in \"" + name + "\" compiler configuration");
|
||||||
else
|
else
|
||||||
files.Add(include);
|
files.Add(include);
|
||||||
|
|
Loading…
Reference in a new issue