Skip to content

Commit

Permalink
App::Document: fix file extension case sensitive problem
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Aug 17, 2019
1 parent 9223f08 commit 9b33513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/Document.cpp
Expand Up @@ -2138,9 +2138,9 @@ static std::string checkFileName(const char *file) {
const char *ext = strrchr(file,'.');
if(!ext || !boost::iequals(ext+1,"fcstd")) {
if(ext && ext[1] == 0)
fn += "fcstd";
fn += "FCStd";
else
fn += ".fcstd";
fn += ".FCStd";
}
}
return fn;
Expand Down

0 comments on commit 9b33513

Please sign in to comment.