summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-02-28 09:11:42 +0000
committerCarl Hetherington <cth@carlh.net>2019-02-28 09:11:42 +0000
commit142415b670c9ce563d3f6e803e8bf502ccc4cb45 (patch)
treed0d5a9eb576baf690d1474962dd08cad49cc6f43 /src
parente88fb0e32dc1b907522e654571f674f3fc2cab6f (diff)
parent591f08a6d0be35b2fc015b3a2e4aeb484b8b62bd (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src')
-rw-r--r--src/wx/swaroop_controls.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc
index 622e943c2..78419a08c 100644
--- a/src/wx/swaroop_controls.cc
+++ b/src/wx/swaroop_controls.cc
@@ -167,6 +167,7 @@ SwaroopControls::viewer_position_changed ()
checked_fwrite (p.c_str(), p.length(), f, Config::path("position"));
#ifdef DCPOMATIC_LINUX
+ fflush (f);
fsync (fileno(f));
#endif
fclose (f);