fix various compiler warnings and a few minor bugs
This commit is contained in:
@@ -186,7 +186,7 @@ void * GetArtistInfo(void *ptr)
|
||||
int i = result->length();
|
||||
if (!isgraph((*result)[i-1]))
|
||||
{
|
||||
while (!isgraph((*result)[--i]));
|
||||
while (!isgraph((*result)[--i])) { }
|
||||
*result = result->substr(0, i+1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user