Do not allow 0 font size
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@445 df292f66-193f-0410-a5fc-6d59da041ff2master
parent
0aae5eaa71
commit
f258841d5a
|
@ -2,7 +2,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.connectbot"
|
||||
android:versionName="1.6-dev"
|
||||
android:versionCode="222">
|
||||
android:versionCode="223">
|
||||
|
||||
<application
|
||||
android:icon="@drawable/icon"
|
||||
|
|
|
@ -209,7 +209,7 @@ public class TerminalBridge implements VDUDisplay, OnKeyListener {
|
|||
fontSizeChangedListeners = new LinkedList<FontSizeChangedListener>();
|
||||
|
||||
int hostFontSize = host.getFontSize();
|
||||
if (hostFontSize < 0)
|
||||
if (hostFontSize <= 0)
|
||||
hostFontSize = DEFAULT_FONT_SIZE;
|
||||
setFontSize(hostFontSize);
|
||||
|
||||
|
|
Loading…
Reference in New Issue