diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-02-13 23:13:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-13 23:13:54 +0100 |
| commit | de5ad19f419a4443789236cc085a9a6b7df3ed1b (patch) | |
| tree | ac66bae40b70b2797f39aa423a33c1af04728372 /src/wx | |
| parent | a488be44fa7559553036d4b081ad8e115311500b (diff) | |
Cleanup: use a class for the Decoder::pass() return value.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/text_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/text_view.cc b/src/wx/text_view.cc index 7e5267886..b6c24c41b 100644 --- a/src/wx/text_view.cc +++ b/src/wx/text_view.cc @@ -102,7 +102,7 @@ TextView::TextView ( i->Stop.connect (bind (&TextView::data_stop, this, _1)); } } - while (!decoder->pass ()) {} + while (decoder->pass().is_ok()) {} SetSizerAndFit (sizer); } |
