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:
parent
1de84d6825
commit
109aa7a0ef
@ -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;
|
||||
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user