@@ -346,10 +346,10 @@ pyCMSdoTransform(Imaging im, Imaging imOut, cmsHTRANSFORM hTransform) {
346346 return -1 ;
347347 }
348348
349- Py_BEGIN_ALLOW_THREADS
349+ Py_BEGIN_ALLOW_THREADS ;
350350
351- // transform color channels only
352- for (i = 0 ; i < im -> ysize ; i ++ ) {
351+ // transform color channels only
352+ for (i = 0 ; i < im -> ysize ; i ++ ) {
353353 cmsDoTransform (hTransform , im -> image [i ], imOut -> image [i ], im -> xsize );
354354 }
355355
@@ -362,9 +362,9 @@ pyCMSdoTransform(Imaging im, Imaging imOut, cmsHTRANSFORM hTransform) {
362362 // enough available on all platforms, so we polyfill it here for now.
363363 pyCMScopyAux (hTransform , imOut , im );
364364
365- Py_END_ALLOW_THREADS
365+ Py_END_ALLOW_THREADS ;
366366
367- return 0 ;
367+ return 0 ;
368368}
369369
370370static cmsHTRANSFORM
@@ -378,17 +378,17 @@ _buildTransform(
378378) {
379379 cmsHTRANSFORM hTransform ;
380380
381- Py_BEGIN_ALLOW_THREADS
381+ Py_BEGIN_ALLOW_THREADS ;
382382
383- /* create the transform */
384- hTransform = cmsCreateTransform (
385- hInputProfile ,
386- findLCMStype (sInMode ),
387- hOutputProfile ,
388- findLCMStype (sOutMode ),
389- iRenderingIntent ,
390- cmsFLAGS
391- );
383+ /* create the transform */
384+ hTransform = cmsCreateTransform (
385+ hInputProfile ,
386+ findLCMStype (sInMode ),
387+ hOutputProfile ,
388+ findLCMStype (sOutMode ),
389+ iRenderingIntent ,
390+ cmsFLAGS
391+ );
392392
393393 Py_END_ALLOW_THREADS ;
394394
@@ -412,19 +412,19 @@ _buildProofTransform(
412412) {
413413 cmsHTRANSFORM hTransform ;
414414
415- Py_BEGIN_ALLOW_THREADS
416-
417- /* create the transform */
418- hTransform = cmsCreateProofingTransform (
419- hInputProfile ,
420- findLCMStype (sInMode ),
421- hOutputProfile ,
422- findLCMStype (sOutMode ),
423- hProofProfile ,
424- iRenderingIntent ,
425- iProofIntent ,
426- cmsFLAGS
427- );
415+ Py_BEGIN_ALLOW_THREADS ;
416+
417+ /* create the transform */
418+ hTransform = cmsCreateProofingTransform (
419+ hInputProfile ,
420+ findLCMStype (sInMode ),
421+ hOutputProfile ,
422+ findLCMStype (sOutMode ),
423+ hProofProfile ,
424+ iRenderingIntent ,
425+ iProofIntent ,
426+ cmsFLAGS
427+ );
428428
429429 Py_END_ALLOW_THREADS ;
430430
0 commit comments