summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-06-29 15:21:24 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-06-29 15:21:24 +0000
commit8c66ca6ac177cab580315ddfd52dc6ec22e451c6 (patch)
treed4c3346a55909cba75a7ef5c59a35987c4fc83e7
parenta6fdeca07c1b650ec56b0625b2dfe0d1a7a910ae (diff)
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
-rw-r--r--dahdi_tool.c2
1 files changed, 1 insertions, 1 deletions
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");