From aa72d14cec939e10b7bb4089c7b67b698a86c8e0 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 25 Jan 2012 04:41:12 +0000 Subject: [PATCH] don't use TRUE or FALSE. apparently fte's headers don't define them, so depending on them is folly. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3964 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/image.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/client/image.c b/engine/client/image.c index 46078cf5a..4f7e2c1bd 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -1089,7 +1089,7 @@ init_source (j_decompress_ptr cinfo) { my_src_ptr src = (my_src_ptr) cinfo->src; - src->start_of_file = TRUE; + src->start_of_file = true; } METHODDEF(JPEG_boolean) @@ -1116,9 +1116,9 @@ fill_input_buffer (j_decompress_ptr cinfo) src->pub.next_input_byte = src->buffer; src->pub.bytes_in_buffer = nbytes; - src->start_of_file = FALSE; + src->start_of_file = false; - return TRUE; + return true; } @@ -1235,9 +1235,9 @@ badjpeg: ftejpeg_mem_src(&cinfo, infile, length); #ifdef DYNAMIC_LIBJPEG - (void) qjpeg_read_header(&cinfo, TRUE); + (void) qjpeg_read_header(&cinfo, true); #else - (void) jpeg_read_header(&cinfo, TRUE); + (void) jpeg_read_header(&cinfo, true); #endif #ifdef DYNAMIC_LIBJPEG @@ -1361,7 +1361,7 @@ METHODDEF(JPEG_boolean) empty_output_buffer (j_compress_ptr cinfo) dest->pub.next_output_byte = dest->buffer; dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; - return TRUE; + return true; } METHODDEF(void) term_destination (j_compress_ptr cinfo) {