]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/print.c
PDCLIB-6: Didn't increment the specification pointer after the '*' in a precision...
[pdclib] / functions / _PDCLIB / print.c
index d3968f57e977b845d274e313785ec6099aa9e41c..aa397078086236a5e2c31efa12a6cfac338bbdcd 100644 (file)
@@ -312,6 +312,7 @@ const char * _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status
                EOF (negative), there is no need for testing for negative here.
             */
             status->prec = va_arg( status->arg, int );
+            ++spec;
         }
         else
         {