Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix minor snippet parsing bug

  • Loading branch information...
commit 8b1f93560e56bfc3f631b8673a9ede01cbde93f6 1 parent 69d367c
Alexander Stigsen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/SnippetHandler.cpp
View
2  src/SnippetHandler.cpp
@@ -533,7 +533,7 @@ void SnippetHandler::UpdateIntervals(unsigned int id, int diff) {
}
// Move endpos
- if (m_endpos >= iv.start) m_endpos += diff;
+ if (m_endpos > iv.start) m_endpos += diff;
}
void SnippetHandler::UpdateIntervalsFromPos(unsigned int pos, int diff) {

0 comments on commit 8b1f935

Please sign in to comment.
Something went wrong with that request. Please try again.