Fixed compiler warnings
[AXE.git] / src / font.h
index c4455d9..401f28c 100644 (file)
@@ -65,7 +65,7 @@ public:
       fs = 0;
    }
 
-   font(char *name)
+   font(const char name[])
    {
       fs = XLoadQueryFont(stddpy.Dpy(), name);
       if (fs == NULL)
@@ -85,7 +85,7 @@ public:
       return fs != 0;
    }
 
-   void Load(char *name)
+   void Load(const char name[])
    {
       if (fs)
          XFreeFont(stddpy.Dpy(), fs);