diff options
author | Kenny Root <kenny@the-b.org> | 2009-12-18 06:23:52 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2009-12-18 06:23:52 +0000 |
commit | f258841d5aa686037354f156a57beb601baeaa4d (patch) | |
tree | e7f7f524ea2e195835bc1392ac5eb13aa5663daf /src/org | |
parent | 0aae5eaa718ed21ab8ed78c8e26944572c5a9611 (diff) | |
download | connectbot-f258841d5aa686037354f156a57beb601baeaa4d.tar.gz connectbot-f258841d5aa686037354f156a57beb601baeaa4d.tar.bz2 connectbot-f258841d5aa686037354f156a57beb601baeaa4d.zip |
Do not allow 0 font size
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@445 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/connectbot/service/TerminalBridge.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/connectbot/service/TerminalBridge.java b/src/org/connectbot/service/TerminalBridge.java index 79789d3..1ecdb4e 100644 --- a/src/org/connectbot/service/TerminalBridge.java +++ b/src/org/connectbot/service/TerminalBridge.java @@ -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); |