summary refs log tree commit diff stats
path: root/tools/trimcc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trimcc.nim')
-rw-r--r--tools/trimcc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/trimcc.nim b/tools/trimcc.nim
index 959eaf310..41795e1aa 100644
--- a/tools/trimcc.nim
+++ b/tools/trimcc.nim
@@ -31,7 +31,7 @@ proc processIncludes(dir: string, whitelist: StringTableRef) =
       if ('.' notin name and "include" in path) or ("c++" in path):
         let n = whitelist.getOrDefault(name)
         if n != "processed": whitelist[name] = "found"
-      if name.endswith(".h"):
+      if name.endsWith(".h"):
         let n = whitelist.getOrDefault(name)
         if n == "found": includes(path, name, whitelist)
     of pcDir: processIncludes(path, whitelist)