From: Michael R. Crusoe <crusoe@debian.org>
Subject: fix typos
--- spd.orig/edfpack/arc.c
+++ spd/edfpack/arc.c
@@ -512,21 +512,21 @@
   /* Calculate pixel transformations */ 
   switch (rsys) {
     case IO_Normal:
-      if (testbit) printf("arc_sum: The refrence system is NORMAL\n");
+      if (testbit) printf("arc_sum: The reference system is NORMAL\n");
       NORMALREF(Off_11,Ps_11,I1Offset_1,I1PSize_1,I1Center_1);
       NORMALREF(Off_21,Ps_21,I1Offset_2,I1PSize_2,I1Center_2);
       NORMALREF(Off_10,Ps_10,I0Offset_1,I0PSize_1,I0Center_1);
       NORMALREF(Off_20,Ps_20,I0Offset_2,I0PSize_2,I0Center_2);
       break;
     case IO_Saxs:
-      if (testbit) printf("arc_sum: The refrence system is SAXS\n");
+      if (testbit) printf("arc_sum: The reference system is SAXS\n");
       SAXSREF(Off_11,Ps_11,I1Offset_1,I1PSize_1,I1Center_1,I1SampleDistance,I1WaveLength); 
       SAXSREF(Off_21,Ps_21,I1Offset_2,I1PSize_2,I1Center_2,I1SampleDistance,I1WaveLength); 
       SAXSREF(Off_10,Ps_10,I0Offset_1,I0PSize_1,I0Center_1,I0SampleDistance,I0WaveLength); 
       SAXSREF(Off_20,Ps_20,I0Offset_2,I0PSize_2,I0Center_2,I0SampleDistance,I0WaveLength); 
       break;
     default: 
-      fprintf(stderr,"ERROR: The refrence system is neither NORMAL nor SAXS (%d)\n",rsys);
+      fprintf(stderr,"ERROR: The reference system is neither NORMAL nor SAXS (%d)\n",rsys);
       status=-1;
       goto arc_sum_error;
   }
@@ -993,21 +993,21 @@
   /* Calculate pixel transformations */ 
   switch (rsys) {
     case IO_Normal:
-      if (testbit) printf("ang_sum: The refrence system is NORMAL\n");
+      if (testbit) printf("ang_sum: The reference system is NORMAL\n");
       NORMALREF(Off_11,Ps_11,I1Offset_1,I1PSize_1,I1Center_1);
       NORMALREF(Off_21,Ps_21,I1Offset_2,I1PSize_2,I1Center_2);
       NORMALREF(Off_10,Ps_10,I0Offset_1,I0PSize_1,I0Center_1);
       NORMALREF(Off_20,Ps_20,I0Offset_2,I0PSize_2,I0Center_2);
       break;
     case IO_Saxs:
-      if (testbit) printf("ang_sum: The radial refrence system is SAXS, the angular NORMAL\n");
+      if (testbit) printf("ang_sum: The radial reference system is SAXS, the angular NORMAL\n");
       SAXSREF(Off_11,Ps_11,I1Offset_1,I1PSize_1,I1Center_1,I1SampleDistance,I1WaveLength); 
       SAXSREF(Off_21,Ps_21,I1Offset_2,I1PSize_2,I1Center_2,I1SampleDistance,I1WaveLength); 
       SAXSREF(Off_10,Ps_10,I0Offset_1,I0PSize_1,I0Center_1,I0SampleDistance,I0WaveLength); 
       NORMALREF(Off_20,Ps_20,I0Offset_2,I0PSize_2,I0Center_2); // Angle reference is NORMAL
       break;
     default:
-      fprintf(stderr,"ERROR: The refrence system is neither NORMAL nor SAXS (%d)\n",rsys);
+      fprintf(stderr,"ERROR: The reference system is neither NORMAL nor SAXS (%d)\n",rsys);
       status=-1;
       goto ang_sum_error;
   }
--- spd.orig/edfpack/raster.c
+++ spd/edfpack/raster.c
@@ -1000,7 +1000,7 @@
 
     if ( ovlpchk( dest, used_size, src, used_size ) ) {
       if (RN_debug) 
-        printf(" raster_order_normalization: creating temporory copy \n");
+        printf(" raster_order_normalization: creating temporary copy \n");
 
       if ( !(tmp_src = malloc( used_size )) ) {
         fprintf(stderr,"%s IS %s\n",RON_Error, RON_NoMem);
