Layer toolbar visible by default. Grafx2 now records which toolbars are visible on exit, and restores them next time.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1327 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
11
saveini.c
11
saveini.c
@@ -659,7 +659,16 @@ int Save_INI(T_Config * conf)
|
||||
DEBUG("saving pixel ratio",return_code);
|
||||
goto Erreur_Retour;
|
||||
}
|
||||
|
||||
|
||||
values[0]=0;
|
||||
for (index=0; index<MENUBAR_COUNT;index++)
|
||||
{
|
||||
values[0] |= Menu_bars[index].Visible ? (1<<index) : 0;
|
||||
}
|
||||
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"Menubars_visible",1,values,0)))
|
||||
goto Erreur_Retour;
|
||||
|
||||
|
||||
Save_INI_flush(Ancien_fichier,Nouveau_fichier,buffer);
|
||||
|
||||
fclose(Nouveau_fichier);
|
||||
|
||||
Reference in New Issue
Block a user