Ignore:
Timestamp:
Mar 18, 2008, 9:36:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of ugly tabs and trailing spaces everywhere.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/include.cpp

    r56 r124  
    4343      for (i=0;i<768;i++,p++)
    4444      {
    45         fprintf(fp,"%d",(int)*p);
    46         if (i==767)
     45    fprintf(fp,"%d",(int)*p);
     46    if (i==767)
    4747        fprintf(fp,"};\n\n");
    48         else
     48    else
    4949        if (i%15==14)
    50         fprintf(fp,",\n    ");
     50    fprintf(fp,",\n    ");
    5151        else fprintf(fp,", ");
    5252      }
    5353    }
    5454    fprintf(fp,"unsigned char %s[%d*%d]={\n    ",tmp_name,
    55             im->width(),im->height()); 
     55            im->width(),im->height());
    5656    int x,y,max=im->width()*im->height()-1;
    5757    for (y=0,i=0;y<im->height();y++)
Note: See TracChangeset for help on using the changeset viewer.