comparison scn2k/scn2k_text.cc @ 47:5f548e5957a8

* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author thib
date Wed, 15 Apr 2009 20:26:32 +0000
parents 01aa5ddf7dc8
children 35ce1a30f3f9
comparison
equal deleted inserted replaced
46:3aa3d244ad90 47:5f548e5957a8
1549 void movebtn_drag(int from_x, int from_y, int x, int y, void* pointer, WidButton* button) { 1549 void movebtn_drag(int from_x, int from_y, int x, int y, void* pointer, WidButton* button) {
1550 if (pointer == 0) return; 1550 if (pointer == 0) return;
1551 fprintf(stderr,"drag.\n"); 1551 fprintf(stderr,"drag.\n");
1552 } 1552 }
1553 #define BTNCNT 10 1553 #define BTNCNT 10
1554 static char* btnname[BTNCNT] = { 1554 static const char* btnname[BTNCNT] = {
1555 "MOVE", 1555 "MOVE",
1556 "CLEAR", 1556 "CLEAR",
1557 "READJUMP", 1557 "READJUMP",
1558 "AUTOMODE", 1558 "AUTOMODE",
1559 "MSGBK", 1559 "MSGBK",