Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6955 → Rev 6806

/programs/cmm/software_widget/software_widget.c
179,24 → 179,12
 
void EventRunApp(dword appid)
{
dword app_path = app_path_collection.get(appid);
dword param_pos = strchr(app_path, '|');
if (param_pos) {
ESBYTE[param_pos] = NULL;
param_pos++;
if (file_exists(app_path_collection.get(appid))) {
io.run(app_path_collection.get(appid), "");
}
 
if (file_exists(app_path))
{
io.run(app_path, param_pos); //0 or offset
if (param_pos) ESBYTE[param_pos - 1] = '|';
}
else
{
else {
notify("'Application not found' -E");
}
 
}