Index: /branches/eam_branches/ipp-20150616/Ohana/src/kapa2/src/bDrawIt.c
===================================================================
--- /branches/eam_branches/ipp-20150616/Ohana/src/kapa2/src/bDrawIt.c	(revision 38508)
+++ /branches/eam_branches/ipp-20150616/Ohana/src/kapa2/src/bDrawIt.c	(revision 38509)
@@ -3,5 +3,5 @@
 bDrawBuffer *bDrawIt (png_color *palette, int Npalette, int Nbyte) {
 
-  int i, Nsection;
+  int i, j, Nsection;
   bDrawBuffer *buffer;
   bDrawColor black;
@@ -23,6 +23,6 @@
       section = GetSectionByNumber (i);
       bDrawImage (buffer, section->image, graphic);
-      for (i = 0; section->image && (i < NOVERLAYS); i++) {
-	if (section->image->overlay[i].active) bDrawOverlay (buffer, section->image, i);
+      for (j = 0; section->image && (j < NOVERLAYS); j++) {
+	if (section->image->overlay[j].active) bDrawOverlay (buffer, section->image, j);
       }
       bDrawGraph (buffer, section->graph);
