From d80a73d4daf2dcf8739e6d84e1d82738a3fa5670 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 3 Feb 2023 23:06:05 +0000 Subject: vmodeled: plot lines and curves and save them to a file on exit. --- musw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'musw.c') diff --git a/musw.c b/musw.c index accdd2c..58e8e0f 100644 --- a/musw.c +++ b/musw.c @@ -127,7 +127,7 @@ drawship(Ship *ship, Image *dst) mulm(T, R); mdl = ship->mdl; p = mdl->pts; - for(s = mdl->strokefmt; s != 0 && p-mdl->pts < mdl->npts; s++) + for(s = mdl->strokefmt; s != nil && p-mdl->pts < mdl->npts; s++) switch(*s){ case 'l': line(dst, toscreen(xform(p[0], T)), toscreen(xform(p[1], T)), 0, 0, 0, display->white, ZP); -- cgit v1.2.3