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-20 00:27:35 +0100
commit9179700aa3061e5ea8ec9451bd106d78e04bfab9 (patch)
treeccd4c0f2d8936c94ba00b5c9771d6da40720e577
parent735ae82f46bcadb26835ef6aa1d4c858e249aa87 (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