summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-20 00:27:35 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-22 13:29:58 +0100
commit4c0504ce8a522fd5b286e5aefdf4c827eda5e936 (patch)
tree07ca225975f2d63eedd17eba9f34120309ea9c05
parentee863b61333bcb50310c56aced81ef0b3cfac304 (diff)
Allow taller server log windows.
-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 34b716591..ed04f5714 100644
--- a/src/tools/dcpomatic_server.cc
+++ b/src/tools/dcpomatic_server.cc
@@ -69,7 +69,11 @@ enum {
ID_timer
};
-static unsigned int const log_lines = 32;
+
+/* Make this longer than the tallest we might want the window to be.
+ * In an ideal world we'd scale it with the window size.
+ */
+static unsigned int const log_lines = 128;
class ServerLog : public Log, public Signaller