mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
1b8d869ff1
Submitted by: Mikhail Teterin <mi@kot.ne.mediaone.net> PR: ports/16063
21 lines
592 B
Plaintext
21 lines
592 B
Plaintext
--- djpeg.c.orig Sat Oct 11 18:29:07 1997
|
|
+++ djpeg.c Mon Apr 24 16:04:13 2000
|
|
@@ -26,6 +26,7 @@
|
|
#include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
|
|
#include "jversion.h" /* for version message */
|
|
|
|
+#include <locale.h> /* to declare setlocal() */
|
|
#include <ctype.h> /* to declare isprint() */
|
|
|
|
#ifdef USE_CCOMMAND /* command-line reader for Macintosh */
|
|
@@ -385,6 +386,9 @@
|
|
cinfo->unread_marker - JPEG_APP0, (long) length);
|
|
}
|
|
|
|
+ if (traceit) {
|
|
+ setlocale(LC_ALL, "");
|
|
+ }
|
|
while (--length >= 0) {
|
|
ch = jpeg_getc(cinfo);
|
|
if (traceit) {
|