From 8c66ca6ac177cab580315ddfd52dc6ec22e451c6 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 29 Jun 2010 15:21:24 +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. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8827 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