From 3c1e0ebb38afc2975cfb2f655774384b72345524 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 21 Mar 2021 11:33:25 +0100 Subject: [PATCH] added hooks_cgi_string --- geometry.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index b9e084e7..8c5eae55 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -1014,6 +1014,8 @@ EX int last_texture_step; int ntimestamp; +EX hookset hooks_cgi_string; + EX string cgi_string() { string s; auto V = [&] (string a, string b) { s += a; s += ": "; s += b; s += "; "; }; @@ -1079,6 +1081,8 @@ EX string cgi_string() { if(WDIM == 3) V("HTW", fts(vid.height_width)); V("LQ", its(vid.linequality)); + + callhooks(hooks_cgi_string, s); return s; }