summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/srcclean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/srcclean.cpp')
-rw-r--r--src/tools/srcclean.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/srcclean.cpp b/src/tools/srcclean.cpp
index 0af298a4441..6f5c7c7f455 100644
--- a/src/tools/srcclean.cpp
+++ b/src/tools/srcclean.cpp
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
/* determine if we are a C file */
ext = strrchr(argv[1], '.');
- is_c_file = (ext && (core_stricmp(ext, ".c") == 0 || core_stricmp(ext, ".h") == 0 || core_stricmp(ext, ".cpp") == 0 || core_stricmp(ext, ".inc") == 0 || core_stricmp(ext, ".lst") == 0));
+ is_c_file = (ext && (core_stricmp(ext, ".c") == 0 || core_stricmp(ext, ".h") == 0 || core_stricmp(ext, ".cpp") == 0 || core_stricmp(ext, ".hxx") == 0 || core_stricmp(ext, ".lst") == 0));
is_xml_file = (ext && core_stricmp(ext, ".xml") == 0);
/* rip through it */