]> pd.if.org Git - pdclib/commitdiff
PDCLIB-6: Didn't increment the specification pointer after the '*' in a precision...
authorOwen Shepherd <owen.shepherd@e43.eu>
Sat, 25 Aug 2012 16:54:38 +0000 (17:54 +0100)
committerOwen Shepherd <owen.shepherd@e43.eu>
Sat, 25 Aug 2012 16:54:38 +0000 (17:54 +0100)
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
         {