Ignore:
Timestamp:
Nov 10, 2005, 11:01:43 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • cosmetic: s/allign/align/
Location:
abuse/trunk/src/imlib
Files:
3 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;
Note: See TracChangeset for help on using the changeset viewer.