From d9ecab2dcd4ca334e1923d8c9beadeb3e231a4b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Dec 2014 15:45:33 +0000 Subject: various calls of setlocale removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11513 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AdvaImg/src/LibJPEG/rdjpgcom.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'plugins/AdvaImg/src/LibJPEG') diff --git a/plugins/AdvaImg/src/LibJPEG/rdjpgcom.c b/plugins/AdvaImg/src/LibJPEG/rdjpgcom.c index ab09b443ff..3d72e38142 100644 --- a/plugins/AdvaImg/src/LibJPEG/rdjpgcom.c +++ b/plugins/AdvaImg/src/LibJPEG/rdjpgcom.c @@ -228,11 +228,6 @@ process_COM (int raw) int ch; int lastch = 0; - /* Bill Allombert: set locale properly for isprint */ -#ifdef HAVE_LOCALE_H - setlocale(LC_CTYPE, ""); -#endif - /* Get the marker parameter length count */ length = read_2_bytes(); /* Length includes itself, so must be at least 2 */ @@ -265,11 +260,6 @@ process_COM (int raw) length--; } printf("\n"); - - /* Bill Allombert: revert to C locale */ -#ifdef HAVE_LOCALE_H - setlocale(LC_CTYPE, "C"); -#endif } -- cgit v1.2.3