Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Fix almost 2,000 warnings by using proper "const" keywords where needed.
File:
1 edited

Legend:

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

    r17 r39  
    2525
    2626
    27 int text_draw(int y, int x1, int y1, int x2, int y2, char *buf, JCFont *font, uint8_t *cmap, char color)
     27int text_draw(int y, int x1, int y1, int x2, int y2, char const *buf, JCFont *font, uint8_t *cmap, char color)
    2828{
    2929  short cx1,cy1,cx2,cy2,word_size,word_len;
     
    3232  int h=font->height()+2,w=font->width(),x=x1,dist;
    3333  y+=y1;
    34   char *word_start;
     34  char const *word_start;
    3535
    3636  while (buf && *buf)
Note: See TracChangeset for help on using the changeset viewer.