summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/tcltk-man2html.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index 16b61ed..4ffb55e 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -43,7 +43,7 @@ proc getversion {tclh {name {}}} {
# highlighting straight in some editors
if {[regexp -lineanchor \
[string map [list @name@ $name] \
- {^#define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
+ {^\s*#define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
$data -> major minor]} {
return [list $major $minor]
}