git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-10-10 11:27:05 +00:00
parent 839576adbc
commit c8829b0feb

View File

@ -1536,7 +1536,7 @@ void LyXText::cursorLeftOneWord()
void LyXText::selectWord(word_location loc) void LyXText::selectWord(word_location loc)
{ {
LyXCursor from = cursor; LyXCursor from = cursor;
LyXCursor to; LyXCursor to = cursor;
::getWord(*this, from, to, loc, ownerParagraphs()); ::getWord(*this, from, to, loc, ownerParagraphs());
if (cursor != from) if (cursor != from)
setCursor(from.par(), from.pos()); setCursor(from.par(), from.pos());