1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Show comptime emits as embedded sourceviews

This commit is contained in:
Brian Fiete 2022-04-16 06:27:54 -07:00
parent ee27f6fd02
commit 4d1e14a1c3
65 changed files with 3360 additions and 633 deletions

View file

@ -1152,6 +1152,9 @@ String Beefy::FixPath(const StringImpl& pathIn)
String Beefy::FixPathAndCase(const StringImpl& pathIn)
{
if ((!pathIn.IsEmpty()) && (pathIn[0] == '$'))
return pathIn;
String path = FixPath(pathIn);
#ifdef _WIN32
for (int i = 0; i < (int)path.length(); ++i)
@ -1180,8 +1183,7 @@ String Beefy::RemoveTrailingSlash(const StringImpl& str)
bool Beefy::FileNameEquals(const StringImpl& filePathA, const StringImpl& filePathB)
{
#ifdef _WIN32
//return _stricmp(filePathA.c_str(), filePathB.c_str()) == 0;
#ifdef _WIN32
if (filePathA.length() != filePathB.length())
return false;