fix various compiler warnings and a few minor bugs

This commit is contained in:
unK
2008-10-05 00:26:02 +02:00
parent 5c7b7a04e1
commit f8727b0a10
11 changed files with 51 additions and 29 deletions

View File

@@ -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);
}