Diff of /library/tools/ecf/ast/et_ecf_external_object.e [bbbf75] .. [36c236] Maximize Restore

  Switch to side-by-side view

--- a/library/tools/ecf/ast/et_ecf_external_object.e
+++ b/library/tools/ecf/ast/et_ecf_external_object.e
@@ -52,10 +52,10 @@
 			l_pathname: STRING
 		do
 			if is_enabled (a_state) then
-				if l_pathname.starts_with ("$ECF_CONFIG_PATH") then
-					l_pathname := file_system.dirname (a_universe.filename) + l_pathname.substring (17, l_pathname.count)
-				elseif l_pathname.starts_with ("$(ECF_CONFIG_PATH)") or l_pathname.starts_with ("${ECF_CONFIG_PATH}") then
-					l_pathname := file_system.dirname (a_universe.filename) + l_pathname.substring (19, l_pathname.count)
+				if pathname.starts_with ("$ECF_CONFIG_PATH") then
+					l_pathname := file_system.dirname (a_universe.filename) + pathname.substring (17, pathname.count)
+				elseif pathname.starts_with ("$(ECF_CONFIG_PATH)") or pathname.starts_with ("${ECF_CONFIG_PATH}") then
+					l_pathname := file_system.dirname (a_universe.filename) + pathname.substring (19, pathname.count)
 				else
 					l_pathname := pathname
 				end