aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-07 22:17:26 +0200
committerEugene Sandulenko2017-08-08 11:25:55 +0200
commit0e2d14ac415faeec25226cef64b3443b0905eff9 (patch)
treeed8e392683cda5e5bb02279dcdc09beb7b15290a /engines/wage
parentaef786fcc3b93670ce980f37d44fea48955d9d3a (diff)
downloadscummvm-rg350-0e2d14ac415faeec25226cef64b3443b0905eff9.tar.gz
scummvm-rg350-0e2d14ac415faeec25226cef64b3443b0905eff9.tar.bz2
scummvm-rg350-0e2d14ac415faeec25226cef64b3443b0905eff9.zip
GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 50b5694b91..fb46ec168f 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -391,7 +391,7 @@ void Gui::actionCut() {
int startPos = s->startCol;
int endPos = s->endCol;
- if (startPos > endPos)
+ if (s->startRow > s->endRow || (s->startRow == s->endRow && startPos > endPos))
SWAP(startPos, endPos);
Common::String input = _consoleWindow->getInput();