summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 7fa8e8aef..197295249 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -421,7 +421,7 @@ proc rawMessage*(conf: ConfigRef; msg: TMsgKind, args: openArray[string]) =
     if msg in conf.cmdLineDisabledNotes: return # eg: `--hints:conf:off` passed on cmdline
     # handle `--hints:off` (regardless of cmdline/cfg file)
     # handle `--hints:conf:on` on cmdline
-    if not conf.hasHint(msg) and not (optHints in conf.options and msg in conf.cmdLineNotes)): return
+    if not conf.hasHint(msg) and not (optHints in conf.options and msg in conf.cmdLineNotes): return
     title = HintTitle
     color = HintColor
     if msg != hintUserRaw: kind = HintsToStr[ord(msg) - ord(hintMin)]