summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/text_viewer/tv_text_processor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_text_processor.c b/apps/plugins/text_viewer/tv_text_processor.c
index d027a9a13a..fa644d7725 100644
--- a/apps/plugins/text_viewer/tv_text_processor.c
+++ b/apps/plugins/text_viewer/tv_text_processor.c
@@ -175,7 +175,7 @@ static bool tv_is_line_break_char(unsigned short ch)
175 if (preferences->word_mode == WM_CHOP) 175 if (preferences->word_mode == WM_CHOP)
176 return false; 176 return false;
177 177
178 for (i = 0; i < sizeof(break_chars); i++) 178 for (i = 0; i < sizeof(break_chars)/sizeof(unsigned short); i++)
179 { 179 {
180 if (break_chars[i] == ch) 180 if (break_chars[i] == ch)
181 return true; 181 return true;
@@ -190,7 +190,7 @@ static bool tv_isspace(unsigned short ch)
190 if (ch < 128 && isspace(ch)) 190 if (ch < 128 && isspace(ch))
191 return true; 191 return true;
192 192
193 for (i = 0; i < sizeof(extra_spaces); i++) 193 for (i = 0; i < sizeof(extra_spaces)/sizeof(unsigned short); i++)
194 { 194 {
195 if (extra_spaces[i] == ch) 195 if (extra_spaces[i] == ch)
196 return true; 196 return true;