TmpDisk 0.62: fix ini-files save/load

git-svn-id: svn://kolibrios.org@5659 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-08-03 10:16:37 +00:00
parent 1de84d6825
commit 109aa7a0ef
2 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,7 @@ void Main_Window()
break;
case evReDraw:
sc.get();
DefineAndDrawWindow(170,150,314,270,0x74,sc.work,"Virtual Disk Manager 0.61",0);
DefineAndDrawWindow(170,150,314,270,0x74,sc.work,"Virtual Disk Manager 0.62",0);
GetProcessInfo(#Form, SelfInfo);
if (Form.status_window>2) break;

View File

@ -81,6 +81,7 @@ void GetDiskSizesFromIni()
{
char i, key[2];
if (load_dll2(libini, #lib_init,1)!=0) notify("Error: library doesn't exists - libini");
key[1]=0;
for (i=0; i<=9; i++)
{
key[0]=i+'0';
@ -92,6 +93,7 @@ void GetDiskSizesFromIni()
void SaveDiskSizesToIni()
{
char i, key[2];
key[1]=0;
for (i=0; i<=9; i++)
{
key[0]=i+'0';