diff --git a/fluid/Fluid.h b/fluid/Fluid.h index d67c31cb3..919e76352 100644 --- a/fluid/Fluid.h +++ b/fluid/Fluid.h @@ -186,7 +186,7 @@ public: // Methods void sort_selected(); // Show or hide the widget bin. void toggle_widget_bin(); - // Open a dialog to show the HTML help page form the FLTK documentation folder. + // Open a dialog to show the HTML help page from the FLTK documentation folder. void show_help(const char *name); // Open the "About" dialog. void about(); diff --git a/fluid/io/Project_Writer.h b/fluid/io/Project_Writer.h index c95c9f7cb..69118f146 100644 --- a/fluid/io/Project_Writer.h +++ b/fluid/io/Project_Writer.h @@ -52,7 +52,6 @@ public: int open_write(const char *s); int close_write(); int write_project(const char *filename, int selected_only, bool codeview); - void NewFunction(); void write_word(const char *); void write_word(const std::string& word) { write_word(word.c_str()); } void write_string(const char *,...) __fl_attr((__format__ (__printf__, 2, 3))); diff --git a/fluid/nodes/Node.cxx b/fluid/nodes/Node.cxx index 1bddd2742..c989d6f6d 100644 --- a/fluid/nodes/Node.cxx +++ b/fluid/nodes/Node.cxx @@ -1220,7 +1220,7 @@ const char *Node::callback_name(fld::io::Code_Writer& f) { \return the name of the enclosing class, or names of the enclosing classes in a static buffe (don't call free), or nullptr if this Type is not inside a class */ -const char* Node::class_name(const int need_nest) const { +const char* Node::class_name(int need_nest) const { Node* p = parent; while (p) { if (p->is_class()) { diff --git a/fluid/nodes/Node.h b/fluid/nodes/Node.h index a589d9973..60ea05978 100644 --- a/fluid/nodes/Node.h +++ b/fluid/nodes/Node.h @@ -306,7 +306,7 @@ public: /** Check if this Type is of the give type Type or derived from that type Type. */ virtual bool is_a(Type inType) const { return (inType==Type::Base_); } - const char* class_name(const int need_nest) const; + const char* class_name(int need_nest) const; bool is_in_class() const; int has_function(const char*, const char*) const;