diff 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
line wrap: on
line diff
--- a/scn2k/scn2k_text.cc
+++ b/scn2k/scn2k_text.cc
@@ -1551,7 +1551,7 @@ void movebtn_drag(int from_x, int from_y
 	fprintf(stderr,"drag.\n");
 }
 #define BTNCNT 10
-static char* btnname[BTNCNT] = {
+static const char* btnname[BTNCNT] = {
 	"MOVE",
 	"CLEAR",
 	"READJUMP",