Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (14 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/imlib/image.cpp

    r19 r39  
    1313
    1414extern uint8_t current_background;
    15 char *imerr_messages[]={"No error",
    16                         "Error occured while reading",
    17                         "Incorrect file type",
    18                         "File is corrupted",
    19                         "File not found",
    20                         "Memory allocation trouble",
    21                         "Operation/file type not supported",
    22                         "Error occured while writing, (disk full?)"};
     15
     16char const *imerr_messages[] =
     17{
     18    "No error",
     19    "Error occured while reading",
     20    "Incorrect file type",
     21    "File is corrupted",
     22    "File not found",
     23    "Memory allocation trouble",
     24    "Operation/file type not supported",
     25    "Error occured while writing, (disk full?)"
     26};
    2327                       
    2428                         
Note: See TracChangeset for help on using the changeset viewer.