diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2012-01-05 10:36:21 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2012-01-05 10:36:21 +0300 |
| commit | c784d66394e8dfbc05f39b91e1cc8a1953cc9616 (patch) | |
| tree | aaa34c0fa448666974d144acf7e68aac78e95092 /src/org/fox/ttrss/OfflineActivity.java | |
| parent | ebb7bc07bf4a24e1e8c4a54c3961218e3730311d (diff) | |
fix width/height detection for portrait screens
Diffstat (limited to 'src/org/fox/ttrss/OfflineActivity.java')
| -rw-r--r-- | src/org/fox/ttrss/OfflineActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/fox/ttrss/OfflineActivity.java b/src/org/fox/ttrss/OfflineActivity.java index 19e33836..fb7a9ad5 100644 --- a/src/org/fox/ttrss/OfflineActivity.java +++ b/src/org/fox/ttrss/OfflineActivity.java @@ -125,9 +125,9 @@ public class OfflineActivity extends FragmentActivity implements int height = display.getHeight(); if (height > width) { - int tmp = height; - width = tmp; - height = width; + int tmp = width; + width = height; + height = tmp; } m_smallScreenMode = m_compatMode || (width < 960 || height < 720); |