Changeset 19


Ignore:
Timestamp:
Nov 10, 2005, 11:01:43 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • cosmetic: s/allign/align/
Location:
abuse/trunk/src
Files:
7 edited

Legend:

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

    r17 r19  
    417417}
    418418
    419 void image::fill_image(image *screen, int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t allign)
     419void image::fill_image(image *screen, int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t align)
    420420{
    421421  int16_t i,j,w,xx,start,xl,starty;
     
    439439  screen->add_dirty(x1,y1,x2,y2);
    440440  w=width();
    441   if (allign)
     441  if (align)
    442442  {
    443443    start=x1%w;
  • abuse/trunk/src/imlib/include/image.hpp

    r17 r19  
    119119  void     scroll             (int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t xd, int16_t yd);
    120120  void     fill_image         (image *screen, int16_t x1, int16_t y1, int16_t x2, int16_t y2,
    121                               int16_t allign=1);
     121                              int16_t align=1);
    122122  void     put_image          (image *screen, int16_t x, int16_t y, char transparent=0);
    123123  void     put_part           (image *screen, int16_t x, int16_t y, int16_t x1, int16_t y1,
  • abuse/trunk/src/imlib/readwav.cpp

    r17 r19  
    9292  fp->write_uint32(sample_rate);
    9393  fp->write_uint32(sample_rate);   // average bytes per sec
    94   fp->write_uint16(1);    // allignment? Don't know what this does?
     94  fp->write_uint16(1);    // alignment? Don't know what this does?
    9595  fp->write_uint16(8);    // 8 bits per sample
    9696 
     
    155155  ERROR(pcm.bitsps==8,"Only 8-bit samples supported");
    156156  ERROR(pcm.wf.channels==1,"Only mono samples supported"); 
    157   ERROR(pcm.wf.align==1,"Bad block allignment");   
     157  ERROR(pcm.wf.align==1,"Bad block alignment");   
    158158  delete fp;
    159159  return data;
  • abuse/trunk/src/include/bus_type.hpp

    r2 r19  
    33
    44#ifdef __sgi
    5 #define WORD_ALLIGN 1
     5#define WORD_ALIGN 1
    66#endif
    77
    88#ifdef sun
    9 #define WORD_ALLIGN 1
     9#define WORD_ALIGN 1
    1010#endif
    1111
    1212#ifdef SUN3
    13 #define WORD_ALLIGN 1
     13#define WORD_ALIGN 1
    1414#endif
    1515
    1616#ifdef SUN4
    17 #define WORD_ALLIGN 1
     17#define WORD_ALIGN 1
    1818#endif
    1919
    2020#ifdef __sgi
    21 #define WORD_ALLIGN 1
     21#define WORD_ALIGN 1
    2222#endif
    2323
    2424#ifdef _AIX
    25 #define WORD_ALLIGN 1
     25#define WORD_ALIGN 1
    2626#endif
    2727
    2828#ifdef __sparc__
    29 #define WORD_ALLIGN 1
     29#define WORD_ALIGN 1
    3030#endif
    3131
    3232#ifdef __arm__
    33 #define WORD_ALLIGN 1
     33#define WORD_ALIGN 1
    3434#endif
    3535
  • abuse/trunk/src/include/lisp.hpp

    r16 r19  
    3838
    3939typedef uint64_t ltype;    // make sure structures aren't packed differently on various compiler
    40                        // and sure that word, etc are word alligned
     40                       // and sure that word, etc are word aligned
    4141
    4242struct lisp_object_var
  • abuse/trunk/src/lcache.cpp

    r17 r19  
    3636    else ret=0;
    3737  }
    38 #ifdef WORD_ALLIGN
     38#ifdef WORD_ALIGN
    3939  return (ret+3)&(~3);
    4040#else
  • abuse/trunk/src/lisp.cpp

    r17 r19  
    172172void *lmalloc(int size, int which_space)
    173173{     
    174 #ifdef WORD_ALLIGN
     174#ifdef WORD_ALIGN
    175175  size=(size+3)&(~3);
    176176#endif
Note: See TracChangeset for help on using the changeset viewer.