diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-21 09:55:06 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-21 09:55:06 +0000 |
commit | dbb58004630cfdc9f9f0d91659f14a4c53df8ec5 (patch) | |
tree | ad96f5de5a90fc3805fb8b7679a74c09d9126e0f | |
parent | e7584669762aa4e4037edcd3c0a82baef367b74a (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.
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
-rw-r--r-- | dahdi_tool.c | 2 |
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"); |