Fluid: typos

This commit is contained in:
Matthias Melcher
2026-01-08 19:32:00 +01:00
parent b966e87eb9
commit 6d09a39222
4 changed files with 3 additions and 4 deletions

View File

@@ -186,7 +186,7 @@ public: // Methods
void sort_selected(); void sort_selected();
// Show or hide the widget bin. // Show or hide the widget bin.
void toggle_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); void show_help(const char *name);
// Open the "About" dialog. // Open the "About" dialog.
void about(); void about();

View File

@@ -52,7 +52,6 @@ public:
int open_write(const char *s); int open_write(const char *s);
int close_write(); int close_write();
int write_project(const char *filename, int selected_only, bool codeview); int write_project(const char *filename, int selected_only, bool codeview);
void NewFunction();
void write_word(const char *); void write_word(const char *);
void write_word(const std::string& word) { write_word(word.c_str()); } void write_word(const std::string& word) { write_word(word.c_str()); }
void write_string(const char *,...) __fl_attr((__format__ (__printf__, 2, 3))); void write_string(const char *,...) __fl_attr((__format__ (__printf__, 2, 3)));

View File

@@ -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 \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 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; Node* p = parent;
while (p) { while (p) {
if (p->is_class()) { if (p->is_class()) {

View File

@@ -306,7 +306,7 @@ public:
/** Check if this Type is of the give type Type or derived from that type Type. */ /** 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_); } 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; bool is_in_class() const;
int has_function(const char*, const char*) const; int has_function(const char*, const char*) const;