From 62f8f5cfdbd7e870210a27b9d4166ac0455ccd8c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 3 May 2018 13:54:18 -0400 Subject: [PATCH] whitespace --- src/zm_image.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zm_image.cpp b/src/zm_image.cpp index ba629535b..9ea89a0d2 100644 --- a/src/zm_image.cpp +++ b/src/zm_image.cpp @@ -940,10 +940,10 @@ bool Image::WriteJpeg(const char *filename, struct timeval timestamp) const { return Image::WriteJpeg(filename, 0, timestamp); } -bool Image::WriteJpeg( const char *filename, int quality_override, struct timeval timestamp ) const { +bool Image::WriteJpeg(const char *filename, int quality_override, struct timeval timestamp) const { if ( config.colour_jpeg_files && colours == ZM_COLOUR_GRAY8 ) { - Image temp_image( *this ); - temp_image.Colourise( ZM_COLOUR_RGB24, ZM_SUBPIX_ORDER_RGB ); + Image temp_image(*this); + temp_image.Colourise(ZM_COLOUR_RGB24, ZM_SUBPIX_ORDER_RGB); return temp_image.WriteJpeg(filename, quality_override, timestamp); } int quality = quality_override?quality_override:config.jpeg_file_quality; @@ -959,9 +959,9 @@ bool Image::WriteJpeg( const char *filename, int quality_override, struct timeva } FILE *outfile; - if ( (outfile = fopen( filename, "wb" )) == NULL ) { - Error( "Can't open %s: %s", filename, strerror(errno) ); - return( false ); + if ( (outfile = fopen(filename, "wb")) == NULL ) { + Error("Can't open %s: %s", filename, strerror(errno)); + return false; } jpeg_stdio_dest( cinfo, outfile );