Ignore:
Timestamp:
Apr 17, 2011, 11:56:44 PM (12 years ago)
Author:
Sam Hocevar
Message:

style: remove trailing spaces, fix copyright statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/lcache.cpp

    r493 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
     
    2526    long t=0;
    2627    void *b=level;
    27     for (;b && item_type(b)==L_CONS_CELL;b=CDR(b))
     28    for (; b && item_type(b)==L_CONS_CELL; b=CDR(b))
    2829    {
    2930      t+=sizeof(LList);
    3031    }
    3132    if (b) t+=block_size(b);
    32     for (b=level;b && item_type(b)==L_CONS_CELL;b=CDR(b))
     33    for (b=level; b && item_type(b)==L_CONS_CELL; b=CDR(b))
    3334      t+=block_size(CAR(b));
    3435    ret=t;
     
    8283    long t=0;
    8384    void *b=level;
    84     for (;b && item_type(b)==L_CONS_CELL;b=CDR(b)) t++;
     85    for (; b && item_type(b)==L_CONS_CELL; b=CDR(b)) t++;
    8586    if (b)
    8687    {
     
    9091    else fp->write_uint32(t);
    9192
    92     for (b=level;b && item_type(b)==L_CONS_CELL;b=CDR(b))
     93    for (b=level; b && item_type(b)==L_CONS_CELL; b=CDR(b))
    9394      write_level(fp,CAR(b));
    9495      }
     
    133134    last->cdr = (t < 0) ? (LObject *)load_block(fp) : NULL;
    134135
    135     for (last=first,x=0;x<abs(t);x++,last=(LList *)last->cdr)
     136    for (last=first,x=0; x<abs(t); x++,last=(LList *)last->cdr)
    136137      last->car = (LObject *)load_block(fp);
    137138    return first;
Note: See TracChangeset for help on using the changeset viewer.