projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b4a317
)
Fix bad server log truncation on Windows.
author
Carl Hetherington
<cth@carlh.net>
Wed, 19 Mar 2025 23:25:43 +0000
(
00:25
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 22 Mar 2025 12:29:58 +0000
(13:29 +0100)
src/tools/dcpomatic_server.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server.cc
b/src/tools/dcpomatic_server.cc
index 2b7b5f503ab24ca88d8e1c318de9b1253b8b93af..34b71659117a9feb0244e16f3bff6bb00267f93c 100644
(file)
--- 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 ()