Beispiel #1
0
static void build_paths(MCExecPoint& ep)
{
	ep . clear();

	MCU_path2std(*sg_chosen_folder);
	if (**sg_chosen_files == '"')
	{
		Meta::itemised_string t_items(sg_chosen_files, ' ', true);
		for(unsigned int t_index = 0; t_index < t_items . count(); ++t_index)
		{
			if (t_index != 0)
				ep.appendnewline();
			build_path(ep, *sg_chosen_folder, t_items[t_index]);
		}
	}
	else
		build_path(ep, *sg_chosen_folder, *sg_chosen_files);

	sg_chosen_files . clear();
	sg_chosen_folder . clear();
}