[svn-commits] tzafrir: tools/trunk r8827 - /tools/trunk/dahdi_tool.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 29 10:21:28 CDT 2010


Author: tzafrir
Date: Tue Jun 29 10:21:24 2010
New Revision: 8827

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8827
Log:
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.

Modified:
    tools/trunk/dahdi_tool.c

Modified: tools/trunk/dahdi_tool.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi_tool.c?view=diff&rev=8827&r1=8826&r2=8827
==============================================================================
--- tools/trunk/dahdi_tool.c (original)
+++ tools/trunk/dahdi_tool.c Tue Jun 29 10:21:24 2010
@@ -318,7 +318,7 @@
 	}
 
 	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");




More information about the svn-commits mailing list