aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-17 22:56:58 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-17 22:56:58 +0000
commitc6fdb3f3bc1aee4ded35895a0cc2be46e4a9f03f (patch)
treef208f8c1cd1d52c2721527cbede262c88259427a /main
parentfebe5ae851b9c53d4ffdf89b94efb6e0bb952c2c (diff)
Missed a spot..
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93420 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c
index 24f5064fe..7fa408c7c 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -590,7 +590,7 @@ static int show_translation(int fd, int argc, char *argv[])
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;
}