Beginning of setting to disable multi-shortcuts: settable in options, saved and reloaded, no effect so far.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1768 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-04-04 19:34:15 +00:00
parent 65b3c4290a
commit 1d24885ddc
5 changed files with 20 additions and 1 deletions

View File

@@ -948,6 +948,13 @@ int Load_INI(T_Config * conf)
Append_path(conf->Scripts_directory, "scripts", NULL);
}
conf->Allow_multi_shortcuts=0;
// Optional, allow or disallow multiple shortcuts on same key (>=2.3)
if (!Load_INI_get_values (file,buffer,"Allow_multi_shortcuts",1,values))
{
conf->Allow_multi_shortcuts=(values[0]!=0);
}
// Insert new values here
fclose(file);