http://d.puremagic.com/issues/show_bug.cgi?id=122


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #3 from Don <clugd...@yahoo.com.au> 2010-03-15 00:57:17 PDT ---
PATCH: Don't include trailing newlines.
doc.c line 1007.
Value of 'pend' shouldn't increase unless there's a non-\n
character.

+        pend = p;
        while (1)
        {
        if (!*p)
-        {   pend = p;
            goto L1;
-        }
        if (*p == '\n')
        {   p++;
            if (*p == '\n' && !summary && !namelen)
            {
            pend = p;
            p++;
            goto L1;
            }
            break;
        }
        p++;
+        pend = p;
        }
        p = skipwhitespace(p);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to