Subversion Repositories Kolibri OS

Rev

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

Rev 6990 Rev 7197
Line 283... Line 283...
283
		strcat(#absolute_path, relative_path);
283
		strcat(#absolute_path, relative_path);
284
	}
284
	}
285
	return #absolute_path;
285
	return #absolute_path;
286
}
286
}
Line -... Line 287...
-
 
287
 
-
 
288
:dword GetIni(dword ini_name) //search it on /kolibrios/ then on /sys/
-
 
289
{
-
 
290
	char absolute_path[4096];
-
 
291
	strcpy(#absolute_path, "/kolibrios/settings/");
-
 
292
	strcat(#absolute_path, ini_name);
-
 
293
	if (!file_exists(#absolute_path)) {
-
 
294
		strcpy(#absolute_path, "/sys/settings/");
-
 
295
		strcat(#absolute_path, ini_name);
-
 
296
	}
-
 
297
	return #absolute_path;		
-
 
298
}
287
 
299
 
288
:byte ConvertSize_size_prefix[8];
300
:byte ConvertSize_size_prefix[8];
289
:dword ConvertSize(dword bytes)
301
:dword ConvertSize(dword bytes)
290
{
302
{
291
  byte size_nm[4];
303
  byte size_nm[4];