aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/initx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/initx.c')
-rw-r--r--src/hyper/initx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/initx.c b/src/hyper/initx.c
index 45a9ff4d..c4d212dd 100644
--- a/src/hyper/initx.c
+++ b/src/hyper/initx.c
@@ -75,7 +75,7 @@ extern int gethostname(char *, int );
static void get_GCs(HDWindow * window);
static int get_border_properties(void);
-static int get_color(char * , char * , int, Colormap*);
+static int get_color(const char* , const char* , int, Colormap*);
static void ingItColors_and_fonts(void);
static void load_font(XFontStruct * * font_info , char * fontname);
static void mergeDatabases(void);
@@ -897,7 +897,7 @@ change_text(int color, XFontStruct *font)
*/
static int
-get_color(char *name, char *klass, int def, Colormap *map)
+get_color(const char *name, const char *klass, int def, Colormap *map)
{
char fullname[256];
char fullclass[256];