summaryrefslogtreecommitdiff
path: root/src/wx/swaroop_controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 21:38:44 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 21:38:44 +0000
commit196de029044f4dbac5f74f68e08a89f778c3a236 (patch)
tree92ae37c7b95d8c2839834ab181ad4b0da1f35da8 /src/wx/swaroop_controls.cc
parente7a9a9a0b69d605e327d5a74abe28481d2a61179 (diff)
Be a bit more careful with fwrite.
Diffstat (limited to 'src/wx/swaroop_controls.cc')
-rw-r--r--src/wx/swaroop_controls.cc2
1 files changed, 1 insertions, 1 deletions
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<string>(_selected_playlist_position)
+ " " + dcp::raw_convert<string>(_viewer->position().get());
- fwrite (p.c_str(), p.length(), 1, f);
+ checked_fwrite (p.c_str(), p.length(), f, Config::path("position"));
fclose (f);
}
}