summaryrefslogtreecommitdiffstats
path: root/Source/cmClassFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmClassFile.cxx')
-rw-r--r--Source/cmClassFile.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmClassFile.cxx b/Source/cmClassFile.cxx
index 7893df6..f953bbb 100644
--- a/Source/cmClassFile.cxx
+++ b/Source/cmClassFile.cxx
@@ -38,11 +38,12 @@ void cmClassFile::SetName(const char* name, const char* dir)
std::string hname = pathname;
hname += ".cxx";
if(cmFileExists(hname.c_str()))
- {
+ {
m_HeaderFileOnly = false;
m_FullPath = hname;
return;
- }
+ }
+
hname = pathname;
hname += ".c";
if(cmFileExists(hname.c_str()))