Skip to content

Commit

Permalink
Fix make-and-model whitespace trimming (Issue #1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Nov 15, 2024
1 parent 03d5308 commit 5cc470c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes in CUPS v2.4.12 (YYYY-MM-DD)
------------------------------------

- Fixed a compressed file error handling bug (Issue #1070)
- Fixed a bug in the make-and-model whitespace trimming code (Issue #1096)
- Fixed the default User-Agent string.
- Fixed a recursion issue in `ippReadIO`.

Expand Down
2 changes: 2 additions & 0 deletions cups/ppd-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -3293,6 +3293,8 @@ _ppdCreateFromIPP2(
mptr --;
if (*mptr == ' ')
*mptr = '\0';
else
break;
}

if (!make[0])
Expand Down

0 comments on commit 5cc470c

Please sign in to comment.