1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed misdetected file paths

This commit is contained in:
Brian Fiete 2020-08-11 06:59:28 -07:00
parent cea4b6cdd8
commit 4d29ecfd31

View file

@ -175,6 +175,8 @@ namespace IDE.ui
if ((errLine != -1) && (errLineChar != -1) && (filePath != null)) if ((errLine != -1) && (errLineChar != -1) && (filePath != null))
{ {
if ((!filePath.Contains('\\')) && (!filePath.Contains('/')) && (!filePath.Contains('.')))
return false;
IDEApp.sApp.CheckProjectRelativePath(filePath); IDEApp.sApp.CheckProjectRelativePath(filePath);
IDEUtils.FixFilePath(filePath); IDEUtils.FixFilePath(filePath);