diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-01-10 15:13:58 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-01-10 15:13:58 +0400 |
| commit | 7f34760c3cbc00c6068639775fdf59d17df37ec0 (patch) | |
| tree | 9d1cae192e7ed78d98cf8d4d50e962300d4e9529 /src/org/fox/ttrss/OfflineActivity.java | |
| parent | 055707ce678058179bda1656860211e7a6e8c5e3 (diff) | |
| parent | 27161555137065b114a97e8ce5c0b31e45e8c76b (diff) | |
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb
Diffstat (limited to 'src/org/fox/ttrss/OfflineActivity.java')
| -rw-r--r-- | src/org/fox/ttrss/OfflineActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/fox/ttrss/OfflineActivity.java b/src/org/fox/ttrss/OfflineActivity.java index a03dbbf9..fb7a9ad5 100644 --- a/src/org/fox/ttrss/OfflineActivity.java +++ b/src/org/fox/ttrss/OfflineActivity.java @@ -125,12 +125,12 @@ 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 = width < 960 || height < 720; + m_smallScreenMode = m_compatMode || (width < 960 || height < 720); setContentView(R.layout.main); |