diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-02-02 01:10:24 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-02-02 01:10:24 +0100 |
| commit | 2ce406ab428bcaa960f368ab19a0911047b1a98a (patch) | |
| tree | 986ef1a3d11c5b783c8ee5164bf1b0864600efed /src/Fl_Help_Dialog.cxx | |
| parent | 0698e16a6b154f227dcb4ab135b273af1fa0f5f9 (diff) | |
Fl_Help_Dialog::load() now returns an error code (STR #3429)
Diffstat (limited to 'src/Fl_Help_Dialog.cxx')
| -rw-r--r-- | src/Fl_Help_Dialog.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx index c3396f2f9..7e016e2d3 100644 --- a/src/Fl_Help_Dialog.cxx +++ b/src/Fl_Help_Dialog.cxx @@ -221,10 +221,11 @@ void Fl_Help_Dialog::hide() { window_->hide(); } -void Fl_Help_Dialog::load(const char *f) { +int Fl_Help_Dialog::load(const char *f) { view_->set_changed(); - view_->load(f); + int ret = view_->load(f); window_->label(view_->title()); + return ret; } void Fl_Help_Dialog::position(int xx, int yy) { |
