diff options
author | Eugene Sandulenko | 2016-02-04 18:15:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:13:01 +0100 |
commit | 40cdf028b3f6cafe02a44b568825f9de6eb4de0e (patch) | |
tree | 642794cbfd64ac686371549e7ad75a6838cb6cd9 | |
parent | 61dc7d5d04577c7b2c4327e937e898908f793f3b (diff) | |
download | scummvm-rg350-40cdf028b3f6cafe02a44b568825f9de6eb4de0e.tar.gz scummvm-rg350-40cdf028b3f6cafe02a44b568825f9de6eb4de0e.tar.bz2 scummvm-rg350-40cdf028b3f6cafe02a44b568825f9de6eb4de0e.zip |
WAGE: Fix end of selection calculation
-rw-r--r-- | engines/wage/gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 970fbcd2d3..f9c5d128d5 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -750,7 +750,7 @@ void Gui::startMarking(int x, int y) { void Gui::updateTextSelection(int x, int y) { _selectionEndY = calcTextY(y); - _selectionEndX = calcTextX(x, _selectionStartY); + _selectionEndX = calcTextX(x, _selectionEndY); warning("x: %d y: %d -> %d %d", x, y, _selectionEndX, _selectionEndY); |