hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=3a4e1dec9efb42e9d117b4ef535853756eebb090

commit 3a4e1dec9efb42e9d117b4ef535853756eebb090
Author: taehyub <taehyub....@samsung.com>
Date:   Mon Mar 7 12:02:09 2016 +0900

    enventor_smart: change the postfix operator to prefix operator to check 
next pointer
    
    Summary:
    if(!(ptr++)) code check current pointer then it is updated next pointer.
    so I changed the postfix operator to prefix operator to check next pointer 
in the condition.
    
    @fix
    
    Reviewers: Jaehyun_Cho, NikaWhite, Hermet
    
    Reviewed By: Hermet
    
    Differential Revision: https://phab.enlightenment.org/D3762
---
 src/lib/enventor_smart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index 48109c4..a5b118c 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -133,7 +133,7 @@ build_err_noti_cb(void *data, const char *msg)
      {
         ptr += strlen(".edc");
         if (!ptr || (ptr[0] != ':')) goto call_error;
-        if (!(ptr++)) goto call_error;
+        if (!(++ptr)) goto call_error;
         line_num = atoi(ptr);
      }
    else if ((ptr = strstr(utf8, "image")) ||

-- 


Reply via email to