Format before clang notices and sends me an angry email

fix-osga-rotate-wildly
AnyOldName3 10 months ago
parent db5a43db30
commit 1717e696b1

@ -69,7 +69,8 @@ std::string Misc::ResourceHelpers::correctResourcePath(
bool needsPrefix = true;
for (std::string_view potentialTopLevelDirectory : topLevelDirectories)
{
if (correctedPath.starts_with(potentialTopLevelDirectory) && correctedPath.size() > potentialTopLevelDirectory.size()
if (correctedPath.starts_with(potentialTopLevelDirectory)
&& correctedPath.size() > potentialTopLevelDirectory.size()
&& correctedPath[potentialTopLevelDirectory.size()] == '\\')
{
needsPrefix = false;

Loading…
Cancel
Save