convert most char[...] configuration values to std::string

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
martii
2013-06-11 13:32:19 +02:00
committed by Jacek Jendrzej
parent fce161b70b
commit cbc9299df8
40 changed files with 483 additions and 470 deletions

View File

@@ -469,7 +469,7 @@ void CRemoteControl::processAPIDnames()
/* processAPIDnames called 2 times, TODO find better way to detect second call */
if(strlen( desc ) != 3)
continue;
if(strlen(g_settings.pref_lang[i]) == 0)
if(g_settings.pref_lang[i].empty())
continue;
std::string temp(g_settings.pref_lang[i]);