diff options
-rw-r--r-- | doc/classes/String.xml | 2 | ||||
-rw-r--r-- | modules/SCsub | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 19ab367257..73d3da39c6 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -321,7 +321,7 @@ <argument index="0" name="what" type="String"> </argument> <description> - Finds the last occurrence of a substring. Returns the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. + Finds the last occurrence of a substring. Returns the starting position of the substring or -1 if not found. </description> </method> <method name="findn"> diff --git a/modules/SCsub b/modules/SCsub index 75c5421b51..7a467676cd 100644 --- a/modules/SCsub +++ b/modules/SCsub @@ -18,9 +18,9 @@ for x in env.module_list: SConscript(x + "/SCsub") if env.split_modules: - env.split_lib("modules") + env.split_lib("modules") else: - lib = env_modules.add_library("modules", env.modules_sources) - - env.Prepend(LIBS=[lib]) + lib = env_modules.add_library("modules", env.modules_sources) + + env.Prepend(LIBS=[lib]) |