From a87f3253e486c5b4fd784eaeba967ae8f7352162 Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 19 Feb 2011 15:48:46 +0000 Subject: [PATCH] fix off by 1! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@57162 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_font_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/canvas/evas_font_dir.c b/src/lib/canvas/evas_font_dir.c index e939551..91eed78 100644 --- a/src/lib/canvas/evas_font_dir.c +++ b/src/lib/canvas/evas_font_dir.c @@ -912,7 +912,7 @@ evas_object_text_font_string_parse(char *buffer, char dest[14][256]) while (p[i]) { dest[n][m] = p[i]; - if ((p[i] == '-') || (m == 256)) + if ((p[i] == '-') || (m == 255)) { dest[n][m] = 0; n++; -- 2.7.4