X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fswaroop_controls.cc;h=d6ab5c39daa0de4322b5c6e6b3a0bdc98299eba4;hp=36aac7cff222e323c6bf1ea433fda2ec1960973c;hb=196de029044f4dbac5f74f68e08a89f778c3a236;hpb=e7a9a9a0b69d605e327d5a74abe28481d2a61179 diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc index 36aac7cff..d6ab5c39d 100644 --- a/src/wx/swaroop_controls.cc +++ b/src/wx/swaroop_controls.cc @@ -158,7 +158,7 @@ SwaroopControls::viewer_position_changed () + " " + dcp::raw_convert(_selected_playlist_position) + " " + dcp::raw_convert(_viewer->position().get()); - fwrite (p.c_str(), p.length(), 1, f); + checked_fwrite (p.c_str(), p.length(), f, Config::path("position")); fclose (f); } }