Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (11 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/include/pmenu.hpp

    r2 r39  
    1111  int hotkey;
    1212public :
    13   char *n,*on_off;
     13  char *n;
     14  char const *on_off;
    1415  psub_menu *sub;
    1516
    1617  int id,xp;
    1718  pmenu_item *next;
    18   pmenu_item(int ID, char *name, char *on_off_flag, int Hotkey, pmenu_item *Next);
    19   pmenu_item(char *Name, psub_menu *Sub, pmenu_item *Next, int xpos=-1);
     19  pmenu_item(int ID, char const *name, char const *on_off_flag, int Hotkey, pmenu_item *Next);
     20  pmenu_item(char const *Name, psub_menu *Sub, pmenu_item *Next, int xpos=-1);
    2021  char *name() { return n; }
    2122  pmenu_item *find_id(int search_id);
Note: See TracChangeset for help on using the changeset viewer.