comparison tools/xm2jss.c @ 1352:0ecd5accea1e

Improve verbose output cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 22 Aug 2017 23:02:24 +0300
parents c9b5b4713b57
children ed04fb6da07c
comparison
equal deleted inserted replaced
1351:ae26c5926f10 1352:0ecd5accea1e
1124 1124
1125 // 1125 //
1126 // Remap orders list 1126 // Remap orders list
1127 // 1127 //
1128 dmMsg(1, "Remapping orders list.\n"); 1128 dmMsg(1, "Remapping orders list.\n");
1129 nunused = 0;
1129 for (int i = 0; i < m->norders; i++) 1130 for (int i = 0; i < m->norders; i++)
1130 { 1131 {
1131 int map = mapPatterns[m->orderList[i]]; 1132 int map = mapPatterns[m->orderList[i]];
1132 if (map != m->orderList[i]) 1133 if (map != m->orderList[i])
1133 dmPrint(2, "%02x -> %02x : ", m->orderList[i], map); 1134 {
1135 dmPrint(2, "%02x -> %02x : ", m->orderList[i], map);
1136 nunused++;
1137 }
1134 r->orderList[i] = map; 1138 r->orderList[i] = map;
1135 } 1139 }
1136 dmPrint(2, "\n"); 1140 if (nunused)
1141 dmPrint(2, "\n");
1137 1142
1138 return r; 1143 return r;
1139 } 1144 }
1140 1145
1141 1146