ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=df1d7def50eee7131c5d2d260f51d1225a8cff56

commit df1d7def50eee7131c5d2d260f51d1225a8cff56
Author: Andy Williams <a...@andywilliams.me>
Date:   Wed Nov 19 22:35:01 2014 +0000

    Fix a memory corruption issue on some systems
---
 elm_code/lib/elm_code_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elm_code/lib/elm_code_widget.c b/elm_code/lib/elm_code_widget.c
index 572fd3a..9d44163 100644
--- a/elm_code/lib/elm_code_widget.c
+++ b/elm_code/lib/elm_code_widget.c
@@ -39,7 +39,7 @@ static void 
_elm_code_widget_fill_line_token(Evas_Textgrid_Cell *cells, int coun
 {
    int x;
 
-   for (x = start; x <= end && x <= count; x++)
+   for (x = start; x <= end && x < count; x++)
      {
         cells[x].fg = type;
      }

-- 


Reply via email to