diff options
-rw-r--r-- | Source/cmDocumentation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 8aa4721..80f74a6 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -512,7 +512,7 @@ bool cmDocumentation::CreateSingleModule(const char* fname, if(line.size() && line[0] == '#') { /* line beginnings with ## are mark-up ignore them */ - if (line[1] == '#') continue; + if (line.size()>=2 && line[1] == '#') continue; // blank line if(line.size() <= 2) { |