Diffstat (limited to 'noncore/apps/opie-reader/FontControl.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/FontControl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-reader/FontControl.h b/noncore/apps/opie-reader/FontControl.h index 5681496..e56b619 100644 --- a/noncore/apps/opie-reader/FontControl.h +++ b/noncore/apps/opie-reader/FontControl.h | |||
@@ -99,17 +99,17 @@ class FontControl | |||
99 | */ | 99 | */ |
100 | if (g_size-- == m_size) | 100 | if (g_size-- == m_size) |
101 | { | 101 | { |
102 | if (--m_size < 0) | 102 | if (--m_size < 0) |
103 | { | 103 | { |
104 | m_size = 0; | 104 | m_size = 0; |
105 | } | 105 | } |
106 | } | 106 | } |
107 | // qDebug("Font:%d Graphics:%d", m_size, g_size); | 107 | // odebug << "Font:" << m_size << " Graphics:" << g_size << oendl; |
108 | return true; | 108 | return true; |
109 | } | 109 | } |
110 | bool increasesize() | 110 | bool increasesize() |
111 | { | 111 | { |
112 | /* | 112 | /* |
113 | if (++m_size >= m_maxsize) | 113 | if (++m_size >= m_maxsize) |
114 | { | 114 | { |
115 | m_size = m_maxsize - 1; | 115 | m_size = m_maxsize - 1; |
@@ -119,17 +119,17 @@ class FontControl | |||
119 | */ | 119 | */ |
120 | if (g_size++ == m_size) | 120 | if (g_size++ == m_size) |
121 | { | 121 | { |
122 | if (++m_size >= m_maxsize) | 122 | if (++m_size >= m_maxsize) |
123 | { | 123 | { |
124 | m_size = m_maxsize - 1; | 124 | m_size = m_maxsize - 1; |
125 | } | 125 | } |
126 | } | 126 | } |
127 | // qDebug("Font:%d Graphics:%d", m_size, g_size); | 127 | // odebug << "Font:" << m_size << " Graphics:" << g_size << oendl; |
128 | return true; | 128 | return true; |
129 | } | 129 | } |
130 | bool ChangeFont(QString& n) | 130 | bool ChangeFont(QString& n) |
131 | { | 131 | { |
132 | return ChangeFont(n, currentsize()); | 132 | return ChangeFont(n, currentsize()); |
133 | } | 133 | } |
134 | bool ChangeFont(QString& n, int tgt); | 134 | bool ChangeFont(QString& n, int tgt); |
135 | void setlead(int _lead) | 135 | void setlead(int _lead) |