Skip to content

Commit 77435cc

Browse files
committed
Drop non-keyword characters from PPD names (Issue #1118)
1 parent a71bc1e commit 77435cc

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

cups/ppd-cache.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* PPD cache implementation for CUPS.
33
*
4-
* Copyright © 2022-2024 by OpenPrinting.
4+
* Copyright © 2022-2025 by OpenPrinting.
55
* Copyright © 2010-2021 by Apple Inc.
66
*
77
* Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -5845,11 +5845,6 @@ pwg_unppdize_name(const char *ppd, /* I - PPD keyword */
58455845
nodash = 1;
58465846
}
58475847
}
5848-
else
5849-
{
5850-
*ptr++ = *ppd;
5851-
nodash = 0;
5852-
}
58535848

58545849
if (nodash == 0)
58555850
{

0 commit comments

Comments
 (0)