Permalink
Browse files

Fix minor snippet parsing bug

  • Loading branch information...
1 parent 69d367c commit 8b1f93560e56bfc3f631b8673a9ede01cbde93f6 Alexander Stigsen committed Aug 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.