Skip to content

Commit 37b4b89

Browse files
committed
Fixed compile warning.
1 parent b71266d commit 37b4b89

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ImGuiFileDialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,10 +1614,12 @@ namespace IGFD
16141614
{
16151615
std::string selectedDirectory = FileNameBuffer;
16161616
if (!selectedDirectory.empty() && selectedDirectory != ".")
1617+
{
16171618
if (path.empty())
16181619
path = selectedDirectory;
16191620
else
16201621
path += PATH_SEP + selectedDirectory;
1622+
}
16211623
}
16221624

16231625
return path;

0 commit comments

Comments
 (0)