We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1dd2e commit 214b800Copy full SHA for 214b800
src/app/context.cpp
@@ -831,7 +831,7 @@ void APPContext::FromConfig() {
831
832
if (!lastTag.empty()) {
833
std::string tagName(lastTag);
834
- lastTag.substr(0, comment.size());
+ lastTag = {lastTag.begin(), comment.end()};
835
size_t dataBegin = lastTag.find_first_of('\n');
836
837
if (dataBegin != lastTag.npos) {
0 commit comments