m_service_center->info(*i, service_info);
service_info->getName(*i, text);
// printf("%c\n", text.c_str()[0]);
- if (text.c_str()[0] == c)
- return index;
+ int idx=0;
+ int len=text.length();
+ while ( idx <= len )
+ {
+ char cc = text[idx++];
+ if ( cc >= 33 && cc < 127)
+ {
+ if (cc == c)
+ return index;
+ break;
+ }
+ }
}
return 0;
}
{
cursorHome();
cursorMove(n);
-
return 0;
}