URI: 
       tAllow prec==0. - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit a6ea03aea90b26d0d4c1c88881b43174a46f977d
   DIR parent 161060a46346fa0beeb48b55ed28b2cd330bc4e8
  HTML Author: rsc <devnull@localhost>
       Date:   Sat, 11 Oct 2003 02:49:01 +0000
       
       Allow prec==0.
       
       Diffstat:
         M src/lib9/encodefmt.c                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/lib9/encodefmt.c b/src/lib9/encodefmt.c
       t@@ -11,7 +11,7 @@ encodefmt(Fmt *f)
                uchar *b;
                char obuf[64];        // rsc optimization
        
       -        if(!(f->flags&FmtPrec) || f->prec < 1)
       +        if(!(f->flags&FmtPrec) || f->prec < 0)
                        goto error;
        
                b = va_arg(f->args, uchar*);