]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
ppd-emit.c: Update code style after new PR
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 4 Jan 2024 11:56:47 +0000 (12:56 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 4 Jan 2024 11:56:47 +0000 (12:56 +0100)
cups/ppd-emit.c

index 03e5b576bb183662dfb471b1e3bbf0e1b65bfbb7..3dd64af1d4217285ddb081cac2f526b486df4bdd 100644 (file)
@@ -885,17 +885,17 @@ ppdEmitString(ppd_file_t    *ppd, /* I - PPD file record */
        float           values[5];      /* Values for custom command */
 
 
-        cupsCopyString(bufptr, "%%BeginFeature: *CustomPageSize True\n", (size_t)(bufend - bufptr + 1));
-        bufptr += 37;
-
-        if ((size = ppdPageSize(ppd, "Custom")) == NULL)
-        {
-          free(buffer);
-          free(choices);
-          return (NULL);
-        }
+       cupsCopyString(bufptr, "%%BeginFeature: *CustomPageSize True\n", (size_t)(bufend - bufptr + 1));
+       bufptr += 37;
+
+       if ((size = ppdPageSize(ppd, "Custom")) == NULL)
+       {
+         free(buffer);
+         free(choices);
+         return (NULL);
+       }
 
-        memset(values, 0, sizeof(values));
+       memset(values, 0, sizeof(values));
 
        if ((attr = ppdFindAttr(ppd, "ParamCustomPageSize", "Width")) != NULL)
        {