From dbb58004630cfdc9f9f0d91659f14a4c53df8ec5 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 21 Jul 2010 09:55:06 +0000 Subject: dahdi_tool: center span window as well. If your window was larger than 80X25, you got a main "window" in the center and the span one in the corner. This puts the span one in the center as well. Merged revisions 8827 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8958 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dahdi_tool.c b/dahdi_tool.c index 810aba1..a814931 100644 --- a/dahdi_tool.c +++ b/dahdi_tool.c @@ -318,7 +318,7 @@ static void show_span(int span) } snprintf(info2, sizeof(info2), "%-59s F10=Back", s[span].desc); - newtOpenWindow(10,2,60,20, s[span].desc); + newtCenteredWindow(60,20, s[span].desc); newtPushHelpLine(info2); back = newtButton(48,8,"Back"); -- cgit v1.2.3