Subversion Repositories Kolibri OS

Rev

Rev 7978 | Rev 7995 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7978 Rev 7981
Line 263... Line 263...
263
 
263
 
264
	// the next block is created to save some space in ramdisk{
264
	// the next block is created to save some space in ramdisk{
265
	//
265
	//
266
	// convert relative path to absolute      "calc"    => "/sys/calc"
266
	// convert relative path to absolute      "calc"     => "/sys/calc"
-
 
267
	// convert short kolibrios path to full   "/k/calc"  => "/kolibrios/calc"
267
	// convert short kolibrios path to full   "/k/calc" => "/kolibrios/calc"
268
	// convert short kolibrios path to full   "/kg/2048" => "/kolibrios/games/2048"
268
	// other copy => as is
269
	// other copy => as is
269
	if (ESBYTE[app_path]!='/') {
270
	if (ESBYTE[app_path]!='/') {
270
		strcpy(#run_app_path, "/sys/");
271
		strcpy(#run_app_path, "/sys/");
271
	}
272
	}
272
	else if (!strncmp(app_path, "/k/",3)) {
273
	else if (!strncmp(app_path, "/k/",3)) {
273
		strcpy(#run_app_path, "/kolibrios/");
274
		strcpy(#run_app_path, "/kolibrios/");
274
		app_path+=3;
275
		app_path+=3;
-
 
276
	}
-
 
277
	else if (!strncmp(app_path, "/kg/",3)) {
-
 
278
		strcpy(#run_app_path, "/kolibrios/games/");
-
 
279
		app_path+=4;
275
	}
280
	}
276
	strcat(#run_app_path, app_path);
281
	strcat(#run_app_path, app_path);
Line 277... Line 282...
277
	// }end
282
	// }end
278
 
283