Skip to content
Browse files

* Actually changed to .- in case multiple underscores are used in a f…

…older name
  • Loading branch information...
1 parent 8735b10 commit 3cc9483d58c7752f7293fa4eb4e81dfc47116cce Shadowed committed Jun 22, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 AddonProfiler.lua
View
4 AddonProfiler.lua
@@ -154,10 +154,10 @@ local function startProfiling()
-- Indicates that when we display the parents addon, we need to find it's children too
if( AP.db.includeModules ) then
local requiredDep, hasSecond = GetAddOnDependencies(id)
- -- Try and detect the parent through (.+)_ blah
+ -- Try and detect the parent through (.-)_blah
local parent
if( not parent and string.match(name, "%_") ) then
- local parentName = string.match(name, "(.+)_")
+ local parentName = string.match(name, "(.-)_")
if( parentName and GetAddOnInfo(parentName) and IsAddOnLoaded(parentName) ) then
parent = parentName
end

0 comments on commit 3cc9483

Please sign in to comment.
Something went wrong with that request. Please try again.