From: Zdenek Dohnal Date: Thu, 4 Jan 2024 11:56:47 +0000 (+0100) Subject: ppd-emit.c: Update code style after new PR X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a3f22e60662d743fbfd2ebe72f622c4d6bca5e;p=thirdparty%2Fcups.git ppd-emit.c: Update code style after new PR --- diff --git a/cups/ppd-emit.c b/cups/ppd-emit.c index 03e5b576bb..3dd64af1d4 100644 --- a/cups/ppd-emit.c +++ b/cups/ppd-emit.c @@ -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) {