-rw-r--r-- | noncore/apps/opie-reader/FontControl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/FontControl.h b/noncore/apps/opie-reader/FontControl.h index ed6c33f..d427680 100644 --- a/noncore/apps/opie-reader/FontControl.h +++ b/noncore/apps/opie-reader/FontControl.h | |||
@@ -105,7 +105,7 @@ class FontControl | |||
105 | uint best = 0; | 105 | uint best = 0; |
106 | for (it = sizes.begin(); it != sizes.end(); it++) | 106 | for (it = sizes.begin(); it != sizes.end(); it++) |
107 | { | 107 | { |
108 | m_fontsizes[i] = (*it)/10; | 108 | m_fontsizes[i] = (*it); |
109 | if (abs(tgt-m_fontsizes[i]) < abs(tgt-m_fontsizes[best])) | 109 | if (abs(tgt-m_fontsizes[i]) < abs(tgt-m_fontsizes[best])) |
110 | { | 110 | { |
111 | best = i; | 111 | best = i; |