[svn-commits] qwell: branch 1.4 r93420 - /branches/1.4/main/translate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 17 16:56:59 CST 2007


Author: qwell
Date: Mon Dec 17 16:56:58 2007
New Revision: 93420

URL: http://svn.digium.com/view/asterisk?view=rev&rev=93420
Log:
Missed a spot..

Modified:
    branches/1.4/main/translate.c

Modified: branches/1.4/main/translate.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/translate.c?view=diff&rev=93420&r1=93419&r2=93420
==============================================================================
--- branches/1.4/main/translate.c (original)
+++ branches/1.4/main/translate.c Mon Dec 17 16:56:58 2007
@@ -590,7 +590,7 @@
 	ast_cli(fd, "          Source Format (Rows) Destination Format (Columns)\n\n");
 	/* Get the length of the longest (usable?) codec name, so we know how wide the left side should be */
 	for (x = 0; x < SHOW_TRANS; x++) {
-		curlen = strlen(ast_getformatname(1 << (x + 1)));
+		curlen = strlen(ast_getformatname(1 << (x)));
 		if (curlen > longest)
 			longest = curlen;
 	}




More information about the svn-commits mailing list