From 4c165d6df6ee8924aa2acb5475af85f4d20444a8 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 16 Feb 2014 12:19:04 -0600 Subject: Fix unintended renaming --- digikam/libs/dimg/loaders/iccjpeg.c | 10 +++++----- digikam/libs/lprof/cmssheet.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'digikam') diff --git a/digikam/libs/dimg/loaders/iccjpeg.c b/digikam/libs/dimg/loaders/iccjpeg.c index e74a98d..fefa950 100644 --- a/digikam/libs/dimg/loaders/iccjpeg.c +++ b/digikam/libs/dimg/loaders/iccjpeg.c @@ -193,10 +193,10 @@ read_icc_profile (j_decompress_ptr cinfo, int seq_no; JOCTET *icc_data; unsigned int total_length; -#define MAX_SETQ_NO 255 /* sufficient since marker numbers are bytes */ - char marker_present[MAX_SETQ_NO+1]; /* 1 if marker found */ - unsigned int data_length[MAX_SETQ_NO+1]; /* size of profile data in marker */ - unsigned int data_offset[MAX_SETQ_NO+1]; /* offset for data in marker */ +#define MAX_SEQ_NO 255 /* sufficient since marker numbers are bytes */ + char marker_present[MAX_SEQ_NO+1]; /* 1 if marker found */ + unsigned int data_length[MAX_SEQ_NO+1]; /* size of profile data in marker */ + unsigned int data_offset[MAX_SEQ_NO+1]; /* offset for data in marker */ *icc_data_ptr = NULL; /* avoid confusion if FALSE return */ *icc_data_len = 0; @@ -205,7 +205,7 @@ read_icc_profile (j_decompress_ptr cinfo, * any ICC markers and verifies the consistency of the marker numbering. */ - for (seq_no = 1; seq_no <= MAX_SETQ_NO; seq_no++) + for (seq_no = 1; seq_no <= MAX_SEQ_NO; seq_no++) marker_present[seq_no] = 0; for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) { diff --git a/digikam/libs/lprof/cmssheet.cpp b/digikam/libs/lprof/cmssheet.cpp index 00f1802..ab73d0a 100644 --- a/digikam/libs/lprof/cmssheet.cpp +++ b/digikam/libs/lprof/cmssheet.cpp @@ -232,7 +232,7 @@ static char* PredefinedProperties[] = { "SAMPLE_BACKING", /* Identifies the backing material used behind the sample during */ /* measurement. Allowed values are “black”, “white”, or "na". */ - "CHISTQ_DOF" /* Degrees of freedom associated with the Chi squared statistic */ + "CHISQ_DOF" /* Degrees of freedom associated with the Chi squared statistic */ }; #define NUMPREDEFINEDPROPS (sizeof(PredefinedProperties)/sizeof(char *)) -- cgit v1.2.3