From: Philippe C. <la-...@or...> - 2012-03-08 18:08:07
|
Add a missing string append Insert a \n in concatenation for better appearance in ffado-mixer --- libffado/src/dice/dice_eap.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libffado/src/dice/dice_eap.cpp b/libffado/src/dice/dice_eap.cpp index 20e520d..4f4c4ee 100644 --- a/libffado/src/dice/dice_eap.cpp +++ b/libffado/src/dice/dice_eap.cpp @@ -1261,9 +1261,10 @@ EAP::Mixer::getColName(const int col) { stringlist::iterator it_d = dest_names.begin(); stringlist::iterator it_d_end_m1 = dest_names.end(); --it_d_end_m1; while (it_d != it_d_end_m1) { - mixer_dst.append((*it_d).c_str()); mixer_dst.append("; "); - it_d++; + mixer_dst.append((*it_d).c_str()); mixer_dst.append(";\n"); + it_d++; } + mixer_dst.append((*it_d).c_str()); } } else { char tmp[32]; -- 1.7.7.6 |