diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-10-29 22:16:02 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-10-29 22:22:38 +0100 |
commit | aa5a0b550f65710f7a9511661442c7fe0b8b41c2 (patch) | |
tree | b6575af01cb08e4a82c0dd458aa0d4559258cde9 /modules/mono/mono_gd | |
parent | 15e30187eed48c4f70efe94c2624c2e50d302295 (diff) |
Fix FrameworkPathOverride and assemblies path loop
Diffstat (limited to 'modules/mono/mono_gd')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_assembly.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/mono/mono_gd/gd_mono_assembly.cpp b/modules/mono/mono_gd/gd_mono_assembly.cpp index 0d9b137f99..7dc7043eec 100644 --- a/modules/mono/mono_gd/gd_mono_assembly.cpp +++ b/modules/mono/mono_gd/gd_mono_assembly.cpp @@ -107,10 +107,11 @@ MonoAssembly *GDMonoAssembly::_preload_hook(MonoAssemblyName *aname, char **asse search_dirs.push_back(String(rootdir).plus_file("mono").plus_file("4.5")); } - while (assemblies_path) { - if (*assemblies_path) + if (assemblies_path) { + while (*assemblies_path) { search_dirs.push_back(*assemblies_path); - ++assemblies_path; + ++assemblies_path; + } } } |