From c9101fd20ef8d13e640b78335256b73212d3fbbe Mon Sep 17 00:00:00 2001 From: dcommander Date: Fri, 9 May 2014 18:00:32 +0000 Subject: Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.) git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1278 632fc199-4ca6-4c93-a231-07263d6284db --- jcomapi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jcomapi.c') diff --git a/jcomapi.c b/jcomapi.c index 9b1fa75..4ca2042 100644 --- a/jcomapi.c +++ b/jcomapi.c @@ -72,8 +72,8 @@ jpeg_destroy (j_common_ptr cinfo) /* NB: mem pointer is NULL if memory mgr failed to initialize. */ if (cinfo->mem != NULL) (*cinfo->mem->self_destruct) (cinfo); - cinfo->mem = NULL; /* be safe if jpeg_destroy is called twice */ - cinfo->global_state = 0; /* mark it destroyed */ + cinfo->mem = NULL; /* be safe if jpeg_destroy is called twice */ + cinfo->global_state = 0; /* mark it destroyed */ } @@ -89,7 +89,7 @@ jpeg_alloc_quant_table (j_common_ptr cinfo) tbl = (JQUANT_TBL *) (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL)); - tbl->sent_table = FALSE; /* make sure this is false in any new table */ + tbl->sent_table = FALSE; /* make sure this is false in any new table */ return tbl; } @@ -101,6 +101,6 @@ jpeg_alloc_huff_table (j_common_ptr cinfo) tbl = (JHUFF_TBL *) (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL)); - tbl->sent_table = FALSE; /* make sure this is false in any new table */ + tbl->sent_table = FALSE; /* make sure this is false in any new table */ return tbl; } -- cgit v1.2.3