Fixed check against uninitialized string in extension loader (bug 5546, r=psychonic).
authorKyle Sanderson <kyle.leet@gmail.com>
Mon Mar 18 20:03:17 2013 -0400 (2013-03-18)
changeset 38503a72196e1a0f
parent 3849 a0a045ca6d6a
child 3851 40e1814dd3d6
Fixed check against uninitialized string in extension loader (bug 5546, r=psychonic).
core/ExtensionSys.cpp
     1.1 --- a/core/ExtensionSys.cpp	Mon Mar 18 19:58:18 2013 -0400
     1.2 +++ b/core/ExtensionSys.cpp	Mon Mar 18 20:03:17 2013 -0400
     1.3 @@ -123,10 +123,10 @@
     1.4  		"extensions/auto." GAMEFIX "/%s." PLATFORM_LIB_EXT,
     1.5  		filename);
     1.6  
     1.7 -normal:
     1.8  	/* Try the "normal" version */
     1.9  	if (!g_LibSys.IsPathFile(path))
    1.10  	{
    1.11 +		normal:
    1.12  		g_SourceMod.BuildPath(Path_SM,
    1.13  			path,
    1.14  			PLATFORM_MAX_PATH,