Commit a2dfc1dd authored by claes's avatar claes

Symbos in SelectList added

parent 80090365
......@@ -733,6 +733,7 @@ getSelectList ()
int i;
int j;
int len;
char *s;
if (l.type == mh_eOutunitType_Logger) {
l.selSize = 0;
......@@ -743,7 +744,9 @@ getSelectList ()
memset(&l.selL, 0, sizeof(l.selL));
for (i = 0, j = 0; i < mh_cSelLSize; i++) {
len = MIN(strlen((*l.pSelL)[i]), sizeof(pwr_tString80));
for ( s = (*l.pSelL)[i], len = 0; !(*s == 0 || *s == 32 || * s == 9); s++)
len++;
len = MIN(len, sizeof(pwr_tString80));
if (len == 0)
continue;
l.selL[j].len = len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment