diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-01-13 22:42:01 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-01-13 22:42:01 +0100 |
| commit | a1ebe87a885679feed893fc8f14d2425abd36cc8 (patch) | |
| tree | 4f566264eb1a375c5b6f97a0cf4f105d43f18802 /fluid | |
| parent | 1643912e4af762c74b92ef11ee003cefe6d0e7ee (diff) | |
STR 3460: removed nanny code for Fluid comments
When writing comments, FLuid would check if the comment was
C compatible. However, comments don;t need to comply to C
syntax. We could check for the "*/", but is that really needed?
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 426bef90c..7023fbf2d 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1280,12 +1280,6 @@ void comment_cb(Fl_Text_Editor* i, void *v) { } else { int mod = 0; char *c = i->buffer()->text(); - const char *d = c_check(c); - if (d) { - fl_message("Error in comment: %s",d); - if (i->window()) i->window()->make_current(); - haderror = 1; - } for (Fl_Type *o = Fl_Type::first; o; o = o->next) { if (o->selected) { o->comment(c); |
