[Rawstudio-commit] r773 - trunk/src

Anders Brander anders at brander.dk
Mon Sep 18 11:15:18 CEST 2006


Author: abrander
Date: 2006-09-18 11:15:18 +0200 (Mon, 18 Sep 2006)
New Revision: 773

Modified:
   trunk/src/rawstudio.c
Log:
Now initializes cms*-pointers.

Modified: trunk/src/rawstudio.c
===================================================================
--- trunk/src/rawstudio.c	2006-09-18 09:13:16 UTC (rev 772)
+++ trunk/src/rawstudio.c	2006-09-18 09:15:18 UTC (rev 773)
@@ -54,13 +54,13 @@
 guint cpuflags = 0;
 gushort loadtable[65536];
 
-cmsHPROFILE genericLoadProfile;
-cmsHPROFILE genericRGBProfile;
-cmsHPROFILE workProfile;
+static cmsHPROFILE genericLoadProfile = NULL;
+static cmsHPROFILE genericRGBProfile = NULL;
+static cmsHPROFILE workProfile = NULL;
 
-cmsHTRANSFORM loadTransform;
-cmsHTRANSFORM displayTransform;
-cmsHTRANSFORM exportTransform;
+static cmsHTRANSFORM loadTransform = NULL;
+static cmsHTRANSFORM displayTransform = NULL;
+static cmsHTRANSFORM exportTransform = NULL;
 
 inline void rs_photo_prepare(RS_PHOTO *photo);
 void update_scaled(RS_BLOB *rs);




More information about the Rawstudio-commit mailing list