kolibrios/programs/cmm/appearance/ini.h
Kirill Lipatov (Leency) 3a3aa50771 appearance: save skin settings in eskin.ini
uPDF: run without param opens /sys/lod

git-svn-id: svn://kolibrios.org@7533 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-06 17:05:54 +00:00

13 lines
351 B
C

#include "../lib/obj/libini.h"
_ini ini = { "/sys/settings/eskin.ini", "main" };
void SaveSkinSettings(dword skin_path)
{
char real_skin_path[4096];
SetCurDir("/kolibrios");
GetCurDir(#real_skin_path, sizeof(real_skin_path));
strcat(#real_skin_path, skin_path+10);
ini.SetString("skin", #real_skin_path, strlen(#real_skin_path));
}