]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
use MAIN_WIDTH to control width
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 11 Feb 2008 18:07:44 +0000 (18:07 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 11 Feb 2008 18:07:44 +0000 (18:07 +0000)
htmlui.c

index eedd22cd44c358bf5057de92f5cbf20fabcac433..476838b4d2d3550c2127f6b65512fd9f9c450a72 100644 (file)
--- a/htmlui.c
+++ b/htmlui.c
@@ -267,8 +267,8 @@ box_bottom(tcp_queue_t *tq)
 static void
 top_menu(http_connection_t *hc, tcp_queue_t *tq)
 {
-  tcp_qprintf(tq, "<div style=\"width: 800px; "
-             "margin-left: auto; margin-right: auto\">");
+  tcp_qprintf(tq, "<div style=\"width: %dpx; "
+             "margin-left: auto; margin-right: auto\">", MAIN_WIDTH);
 
   box_top(tq, "box");