summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_server.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc
index 2b7b5f503..34b716591 100644
--- a/src/tools/dcpomatic_server.cc
+++ b/src/tools/dcpomatic_server.cc
@@ -199,7 +199,11 @@ private:
void removed (int n)
{
- _text->Remove (0, n + 1);
+#ifdef DCPOMATIC_WINDOWS
+ _text->Remove(0, n + 2);
+#else
+ _text->Remove(0, n + 1);
+#endif
}
void update_state ()