Commit 4cfd2de6 authored by Stuart Levy's avatar Stuart Levy
Browse files

constify.

parent 87303ae8
......@@ -233,7 +233,7 @@ class Fl_Gview : public Fl_Gl_Window {
return target();
}
char *dname( int drawerno );
const char *dname( int drawerno );
void bgcolor( Point *rgb ) { bgcolor_ = *rgb; redraw(); }
const Point *bgcolor() const { return &bgcolor_; }
......
......@@ -1080,7 +1080,7 @@ int Fl_Gview::do_pick( float xpick, float ypick )
return pickhits_;
}
char *Fl_Gview::dname( int id ) {
const char *Fl_Gview::dname( int id ) {
static char name[32];
if(id < 0) return "[c0]";
int dno = withid( id );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment