Skip to content

Commit

Permalink
ppd-emit.c: Update code style after new PR
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Jan 4, 2024
1 parent e8cc368 commit d1a3f22
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cups/ppd-emit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d1a3f22

Please sign in to comment.