From 9b3351399b63f6dd9878820b130f76ded1ffc90d Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 17 Jul 2019 13:08:25 +0800 Subject: [PATCH] App::Document: fix file extension case sensitive problem --- src/App/Document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 318a19f790..18c3c10d09 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -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;