fix uninitialized variable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17590 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-03-27 12:51:47 +00:00
parent 41d3486222
commit c8c2671c50

View File

@ -1094,7 +1094,7 @@ void LyXText::changeCase(LCursor & cur, LyXText::TextCase action)
bool const trackChanges = cur.buffer().params().trackChanges;
pos_type right; // needed after the for loop
pos_type right = 0; // needed after the for loop
for (pit_type pit = begPit; pit <= endPit; ++pit) {
pos_type parSize = pars_[pit].size();