Bug fixed where the users key config was ignored, because the one in the
content dir was reloaded when the starcon.pkg/starcon.ndx package was loaded. This 'fix' makes the entry in starcon.ndx invalid. It will be completely removed when the new resource system is there. For now, you'll receive a warning "Can't open 'ignored.key'" on startup, which should be ignored. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@888 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Binary file not shown.
@@ -282,7 +282,7 @@ initKeyConfig(void) {
|
||||
|
||||
cb = snprintf (userFile, PATH_MAX, "%skeys.cfg", configDir);
|
||||
assert (cb != -1);
|
||||
// strlen (configDir) <= PATH_MAX - 13
|
||||
// Verified before: strlen (configDir) <= PATH_MAX - 13
|
||||
|
||||
if (fileExists (userFile)) {
|
||||
fp = res_OpenResFile (userFile, "rt");
|
||||
|
||||
Reference in New Issue
Block a user