ajwillia-ms pushed a commit to branch master.

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

commit e7b72e5b8b2d22789793c0c108d28a433ff33cff
Author: Andy Williams <[email protected]>
Date:   Sat Nov 29 20:00:45 2014 +0000

    Fix crash when ctrl-pgdn beyond first file
---
 src/bin/mainview/edi_mainview.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/mainview/edi_mainview.c b/src/bin/mainview/edi_mainview.c
index 789e33f..1104a71 100644
--- a/src/bin/mainview/edi_mainview.c
+++ b/src/bin/mainview/edi_mainview.c
@@ -59,7 +59,8 @@ edi_mainview_item_prev()
      {
         if (it && it->view == current)
           {
-             edi_mainview_item_select(prev);
+             if (prev)
+               edi_mainview_item_select(prev);
              return;
           }
 

-- 


Reply via email to