diff options
author | Jeremy Klein <jlklein@google.com> | 2015-09-25 15:34:44 -0700 |
---|---|---|
committer | Jeremy Klein <jlklein@google.com> | 2015-10-01 14:56:39 -0700 |
commit | aa2f25d977eb60c40bb05978a1e9826cd45b5552 (patch) | |
tree | 5c17600e747ee5f7d7f8916f27a8e01f82d9ea8d /app/src/main/java/org/connectbot/ConsoleActivity.java | |
parent | e4e3047bd5e9c8e010041aec196a77797e420332 (diff) | |
download | connectbot-aa2f25d977eb60c40bb05978a1e9826cd45b5552.tar.gz connectbot-aa2f25d977eb60c40bb05978a1e9826cd45b5552.tar.bz2 connectbot-aa2f25d977eb60c40bb05978a1e9826cd45b5552.zip |
Lint fix
Diffstat (limited to 'app/src/main/java/org/connectbot/ConsoleActivity.java')
-rw-r--r-- | app/src/main/java/org/connectbot/ConsoleActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/org/connectbot/ConsoleActivity.java b/app/src/main/java/org/connectbot/ConsoleActivity.java index 5a73fd6..0ee6a5a 100644 --- a/app/src/main/java/org/connectbot/ConsoleActivity.java +++ b/app/src/main/java/org/connectbot/ConsoleActivity.java @@ -756,7 +756,7 @@ public class ConsoleActivity extends AppCompatActivity implements BridgeDisconne boolean mouseReport = ((vt320) bridge.buffer).isMouseReportEnabled(); // MouseReport can be "defeated" using the shift key. - if ((!mouseReport || shiftOn) && event.getAction() == MotionEvent.ACTION_DOWN){ + if ((!mouseReport || shiftOn) && event.getAction() == MotionEvent.ACTION_DOWN) { switch (event.getButtonState()) { case MotionEvent.BUTTON_PRIMARY: // Automatically start copy mode if using a mouse. @@ -770,10 +770,10 @@ public class ConsoleActivity extends AppCompatActivity implements BridgeDisconne pasteIntoTerminal(); return true; } - } else if (event.getAction() == MotionEvent.ACTION_DOWN){ + } else if (event.getAction() == MotionEvent.ACTION_DOWN) { ((vt320) bridge.buffer).mousePressed( col, row, mouseEventToJavaModifiers(event)); - } else if (event.getAction() == MotionEvent.ACTION_UP){ + } else if (event.getAction() == MotionEvent.ACTION_UP) { ((vt320) bridge.buffer).mouseReleased(col, row); } } |