summaryrefslogtreecommitdiffstats
path: root/Source/cmRST.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRST.cxx')
-rw-r--r--Source/cmRST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRST.cxx b/Source/cmRST.cxx
index 12bbaf6..5364f76 100644
--- a/Source/cmRST.cxx
+++ b/Source/cmRST.cxx
@@ -98,7 +98,7 @@ void cmRST::ProcessModule(std::istream& is)
continue;
}
if (line.substr(0, 2) == "# ") {
- this->ProcessLine(line.substr(2, std::string::npos));
+ this->ProcessLine(line.substr(2));
continue;
}
rst = "";