Index: /branches/eam_branches/ipp-20130509/Ohana/src/libkapa/src/KapaWindow.c
===================================================================
--- /branches/eam_branches/ipp-20130509/Ohana/src/libkapa/src/KapaWindow.c	(revision 35602)
+++ /branches/eam_branches/ipp-20130509/Ohana/src/libkapa/src/KapaWindow.c	(revision 35603)
@@ -22,5 +22,5 @@
 
   KiiSendCommand (fd, 4, "RSIZ");
-  KiiSendMessage (fd, "%d %d", Nx, Ny); 
+  KiiSendMessage (fd, "%d %d ", Nx, Ny); 
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -37,5 +37,5 @@
 
   KiiSendCommand (fd, 4, "MOVE");
-  KiiSendMessage (fd, "%d %d", x, y); 
+  KiiSendMessage (fd, "%d %d ", x, y); 
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -83,5 +83,5 @@
   
   KiiSendCommand (fd, 4, "TOOL");
-  KiiSendMessage (fd, "%d", location); 
+  KiiSendMessage (fd, "%d ", location); 
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -134,10 +134,10 @@
   
   /* send kapa the plot details */
-  KiiSendMessage (fd, "%8d %8d %d %d %d %d %d %f %f", 
+  KiiSendMessage (fd, "%8d %8d %d %d %d %d %d %f %f ", 
 		  Npts, data[0].style, 
 		  data[0].ptype, data[0].ltype, 
 		  data[0].etype, data[0].ebar, data[0].color, 
 		  data[0].lweight, data[0].size);
-  KiiSendMessage (fd, "%g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g ", 
 		  data[0].xmin, data[0].xmax, 
 		  data[0].ymin, data[0].ymax);
@@ -149,9 +149,9 @@
 
   /* send kapa the plot details */
-  KiiSendMessage (fd, "%g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g ", 
 		  data[0].xmin, data[0].xmax, 
 		  data[0].ymin, data[0].ymax);
 
-  KiiSendMessage (fd, "%8d %d %d %d %d %d %f %f", 
+  KiiSendMessage (fd, "%8d %d %d %d %d %d %f %f ", 
 		  data[0].style, 
 		  data[0].ptype, data[0].ltype, 
@@ -159,22 +159,22 @@
 		  data[0].lweight, data[0].size);
 
-  KiiSendMessage (fd, "%g %g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g %g ", 
 		  data[0].ticktextPad,
 		  data[0].padXm, data[0].padXp, 
 		  data[0].padYm, data[0].padYp);
 
-  KiiSendMessage (fd, "%g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g ", 
 		  data[0].labelPadXm, data[0].labelPadXp, 
 		  data[0].labelPadYm, data[0].labelPadYp);
 
-  KiiSendMessage (fd, "%g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g ", 
 		  data[0].coords.pc1_1, data[0].coords.pc2_2,
 		  data[0].coords.pc1_2, data[0].coords.pc2_1);
 
-  KiiSendMessage (fd, "%d %d %s", 
+  KiiSendMessage (fd, "%d %d %s ", 
 		  data[0].flipeast, data[0].flipnorth,
 		  data[0].coords.ctype);
 
-  KiiSendMessage (fd, "%g %g %g %g %g %g", 
+  KiiSendMessage (fd, "%g %g %g %g %g %g ", 
 		  data[0].coords.crval1,
 		  data[0].coords.crval2,
@@ -184,5 +184,5 @@
 		  data[0].coords.cdelt2);
 
-  KiiSendMessage (fd, "%s %s %s", data[0].axis, data[0].ticks, data[0].labels);
+  KiiSendMessage (fd, "%s %s %s ", data[0].axis, data[0].ticks, data[0].labels);
 
   return (TRUE);
@@ -265,5 +265,5 @@
   
   /* send kapa the plot details */
-  KiiSendMessage (fd, "%g %g %s %s", 
+  KiiSendMessage (fd, "%g %g %s %s ", 
 		  data[0].zero, data[0].range, data[0].name, data[0].file);
 
@@ -308,5 +308,5 @@
 valid:
   KiiSendCommand (fd, 4, "PLOB"); 
-  KiiSendMessage (fd, "%s %d %d %d", type, Npts, Nbytes, swap); 
+  KiiSendMessage (fd, "%s %d %d %d ", type, Npts, Nbytes, swap); 
 
   Nwrite = write (fd, values, Nbytes);
@@ -322,6 +322,6 @@
 
   KiiSendCommand (fd, 4, "FONT");
-  KiiSendCommand (fd, 16, "%s", name);
-  KiiSendCommand (fd, 16, "%d", size);
+  KiiSendCommand (fd, 16, "%s ", name);
+  KiiSendCommand (fd, 16, "%d ", size);
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -331,5 +331,5 @@
 
   KiiSendCommand (fd, 4, "LABL");
-  KiiSendMessage (fd, "%6d", mode);
+  KiiSendMessage (fd, "%6d ", mode);
   KiiSendData (fd, string, strlen(string));
   KiiWaitAnswer (fd, "DONE");
@@ -340,5 +340,5 @@
   
   KiiSendCommand (fd, 4, "PTXT");
-  KiiSendMessage (fd, "%f %f %f", x, y, angle);
+  KiiSendMessage (fd, "%f %f %f ", x, y, angle);
   KiiSendData (fd, string, strlen(string));
   KiiWaitAnswer (fd, "DONE");
@@ -366,5 +366,5 @@
 
   KiiSendCommand (fd, 4, "DSEC");
-  KiiSendMessage (fd, "%s %6.3f %6.3f %6.3f %6.3f %3d", 
+  KiiSendMessage (fd, "%s %6.3f %6.3f %6.3f %6.3f %3d ", 
 		  section[0].name, 
 		  section[0].x,
@@ -380,5 +380,5 @@
 
   KiiSendCommand (fd, 4, "ISEC");
-  KiiSendMessage (fd, "%s %6.3f %6.3f %3d", 
+  KiiSendMessage (fd, "%s %6.3f %6.3f %3d ", 
 		  section[0].name, 
 		  section[0].x,
@@ -392,5 +392,5 @@
 
   KiiSendCommand (fd, 4, "BSEC");
-  KiiSendMessage (fd, "%s %3d", name, bg);
+  KiiSendMessage (fd, "%s %3d ", name, bg);
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -409,5 +409,5 @@
 valid:
   KiiSendCommand (fd, 4, "MSEC");
-  KiiSendMessage (fd, "%s %s", name, direction);
+  KiiSendMessage (fd, "%s %s ", name, direction);
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -417,5 +417,5 @@
 
   KiiSendCommand (fd, 4, "SSEC");
-  KiiSendMessage (fd, "%s", name);
+  KiiSendMessage (fd, "%s ", name);
   KiiWaitAnswer (fd, "DONE");
   return (TRUE);
@@ -425,6 +425,6 @@
 
   KiiSendCommand (fd, 4, "LSEC");
-  KiiSendMessage (fd, "%s", name);
-  KiiWaitAnswer (fd, "DONE");
-  return (TRUE);
-}
+  KiiSendMessage (fd, "%s ", name);
+  KiiWaitAnswer (fd, "DONE");
+  return (TRUE);
+}
