[gs-cvs] rev 7796 - trunk/gs/src

alexcher at ghostscript.com alexcher at ghostscript.com
Sat Mar 24 09:31:24 PDT 2007


Author: alexcher
Date: 2007-03-24 09:31:23 -0700 (Sat, 24 Mar 2007)
New Revision: 7796

Modified:
   trunk/gs/src/gscspace.c
Log:
Fix C++ -style variable definition introduced by the previous commit,
which is not supported by older compilers: MSVC 6, gcc 2.96.


Modified: trunk/gs/src/gscspace.c
===================================================================
--- trunk/gs/src/gscspace.c	2007-03-23 13:56:11 UTC (rev 7795)
+++ trunk/gs/src/gscspace.c	2007-03-24 16:31:23 UTC (rev 7796)
@@ -95,11 +95,11 @@
     if_debug2('c', "[c]cspace final %08x %d\n", pcs, pcs->id);
     
 #if ENABLE_CUSTOM_COLOR_CALLBACK
-
+    {
 	client_color_space_data_t *pclient_data = pcs->pclient_color_space_data;
 	if ( pclient_data )
 		pclient_data->client_adjust_cspace_count( pcs, -1 );
-
+    }
 #endif /*ENABLE_CUSTOM_COLOR_CALLBACK*/
     
     rc_decrement_only(pcs->base_space, "gs_cspace_final");



More information about the gs-cvs mailing list