[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase1_step3 r301789 - /team/dvossel/fixt...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 14 10:48:53 CST 2011
Author: dvossel
Date: Fri Jan 14 10:48:50 2011
New Revision: 301789
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=301789
Log:
fixes logic error in core show translation output
Modified:
team/dvossel/fixtheworld_phase1_step3/main/translate.c
Modified: team/dvossel/fixtheworld_phase1_step3/main/translate.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step3/main/translate.c?view=diff&rev=301789&r1=301788&r2=301789
==============================================================================
--- team/dvossel/fixtheworld_phase1_step3/main/translate.c (original)
+++ team/dvossel/fixtheworld_phase1_step3/main/translate.c Fri Jan 14 10:48:50 2011
@@ -845,7 +845,7 @@
/* Get the length of the longest (usable?) codec name, so we know how wide the left side should be */
for (x = 0; x < cur_max_index; x++) {
/* translation only applies to audio right now. */
- if (AST_FORMAT_GET_TYPE(index2format(x) != AST_FORMAT_TYPE_AUDIO))
+ if (AST_FORMAT_GET_TYPE(index2format(x)) != AST_FORMAT_TYPE_AUDIO)
continue;
curlen = strlen(ast_getformatname(ast_format_set(&tmp_fmt, index2format(x), 0)));
if (curlen > longest) {
More information about the asterisk-commits
mailing list