diff options
Diffstat (limited to 'src/cgeo/geocaching/cgCompass.java')
| -rw-r--r-- | src/cgeo/geocaching/cgCompass.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgeo/geocaching/cgCompass.java b/src/cgeo/geocaching/cgCompass.java index f8abb69..2774093 100644 --- a/src/cgeo/geocaching/cgCompass.java +++ b/src/cgeo/geocaching/cgCompass.java @@ -221,10 +221,10 @@ public class cgCompass extends View { @Override protected void onDraw(Canvas canvas) { - if (lock == true) { + if (lock) { return; } - if (drawing == true) { + if (drawing) { return; } |
