Fix counter increment. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit a162f12e7badc521f2faa61123f3f70bcc98db37
 (DIR) parent 4f6b0d8ce54e4cfb281246704368631baf66dc6e
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Thu, 26 May 2016 00:01:53 -0500
       
       Fix counter increment.
       
       Diffstat:
         sam/string.c                        |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/sam/string.c b/sam/string.c
       @@ -108,7 +108,7 @@ Strcmp(String *a, String *b, int *l)
                        if(c = (a->s[i] - b->s[i]))        /* assign = */
                                return c;
                if (l)
       -            *l = i;
       +            (*l)++;
            }
                /* damn NULs confuse everything */
                i = a->n - b->n;