IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38509


Ignore:
Timestamp:
Jun 21, 2015, 8:49:29 PM (11 years ago)
Author:
eugene
Message:

wrong loop variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150616/Ohana/src/kapa2/src/bDrawIt.c

    r38465 r38509  
    33bDrawBuffer *bDrawIt (png_color *palette, int Npalette, int Nbyte) {
    44
    5   int i, Nsection;
     5  int i, j, Nsection;
    66  bDrawBuffer *buffer;
    77  bDrawColor black;
     
    2323      section = GetSectionByNumber (i);
    2424      bDrawImage (buffer, section->image, graphic);
    25       for (i = 0; section->image && (i < NOVERLAYS); i++) {
    26         if (section->image->overlay[i].active) bDrawOverlay (buffer, section->image, i);
     25      for (j = 0; section->image && (j < NOVERLAYS); j++) {
     26        if (section->image->overlay[j].active) bDrawOverlay (buffer, section->image, j);
    2727      }
    2828      bDrawGraph (buffer, section->graph);
Note: See TracChangeset for help on using the changeset viewer.