sam: fixup :(

This commit is contained in:
ftrvxmtrx 2016-10-18 20:22:25 +02:00
parent dff69d5922
commit e19308ee16

View file

@ -214,10 +214,10 @@ plumbformat(int i)
s = strstr(s, ".\n"); s = strstr(s, ".\n");
if(s == nil) if(s == nil)
break; break;
if(s[-1] != '\n') s += 2;
if(s[-3] != '\n')
continue; continue;
s[0] = ''; s[0] = '';
s += 2;
replaced = 1; replaced = 1;
} }
n += sprint(data+n, ".\n"); n += sprint(data+n, ".\n");