Skip to content

Commit

Permalink
Fix minor snippet parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Stigsen committed Aug 2, 2010
1 parent 69d367c commit 8b1f935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SnippetHandler.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ void SnippetHandler::UpdateIntervals(unsigned int id, int diff) {
} }


// Move endpos // 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) { void SnippetHandler::UpdateIntervalsFromPos(unsigned int pos, int diff) {
Expand Down

0 comments on commit 8b1f935

Please sign in to comment.