Skip to content

Commit 39fa2e6

Browse files
committed
Fix legacy error function name.
1 parent e6ea58f commit 39fa2e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htmldoc/file.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#include <ctype.h>
2727

2828
#if CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR < 5
29-
# define cupsGetError cupsGetLastError
30-
# define cupsGetErrorString cupsGetLastErrorString
29+
# define cupsGetError cupsLastError
30+
# define cupsGetErrorString cupsLastErrorString
3131
#endif // CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR < 5
3232

3333

0 commit comments

Comments
 (0)