Code cleanup

This commit is contained in:
Pierre Pronchery 2013-10-26 19:50:56 +02:00
parent a5c2171ecd
commit 5b4123f8b5

View File

@ -51,7 +51,7 @@ static int _applets(void)
PanelAppletDefinition * pad;
if((dir = opendir(path)) == NULL)
return -_perror("../src/applets", 1);
return -_perror(path, 1);
while((de = readdir(dir)) != NULL)
{
if((len = strlen(de->d_name)) < sizeof(ext))