From f258841d5aa686037354f156a57beb601baeaa4d Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Fri, 18 Dec 2009 06:23:52 +0000 Subject: Do not allow 0 font size git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@445 df292f66-193f-0410-a5fc-6d59da041ff2 --- AndroidManifest.xml | 2 +- src/org/connectbot/service/TerminalBridge.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0f12d62..d21a70a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ + android:versionCode="223"> (); int hostFontSize = host.getFontSize(); - if (hostFontSize < 0) + if (hostFontSize <= 0) hostFontSize = DEFAULT_FONT_SIZE; setFontSize(hostFontSize); -- cgit v1.2.3