]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/string.c
Load cups into easysw/current.
[thirdparty/cups.git] / cups / string.c
index 5b2cea2a55e6f565cc04bc934399be7caf5bd688..c44b7a0613cd589f76566330d921b4f3536525e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: string.c 6187 2007-01-10 16:20:42Z mike $"
+ * "$Id: string.c 6345 2007-03-17 18:00:04Z mike $"
  *
  *   String functions for the Common UNIX Printing System (CUPS).
  *
@@ -266,9 +266,9 @@ _cupsStrFormatd(char         *buf,  /* I - String */
          tempptr < tempdec && bufptr < bufend;
         *bufptr++ = *tempptr++);
 
-    tempdec += declen;
+    tempptr += declen;
 
-    if (*tempdec && bufptr < bufend)
+    if (*tempptr && bufptr < bufend)
     {
       *bufptr++ = '.';
 
@@ -743,5 +743,5 @@ compare_sp_items(_cups_sp_item_t *a,        /* I - First item */
 
 
 /*
- * End of "$Id: string.c 6187 2007-01-10 16:20:42Z mike $".
+ * End of "$Id: string.c 6345 2007-03-17 18:00:04Z mike $".
  */