From 6762d82729573a6afedd6ad14a1512909c15d555 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 18:33:36 +0200 Subject: [PATCH] Change string nesting format --- elements/tags.lua | 2 +- oUF_P3lim.lua | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/elements/tags.lua b/elements/tags.lua index 42ea6db..ba4ffe4 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -144,6 +144,6 @@ tags.Methods['p3lim:pet'] = function() local max = UnitHealthMax('pet') return ('%s%d%%|r'):format(Hex(ColorGradient(cur, max, 1, 0, 0, 1, 1, 0, 1, 1, 1)), cur / max * 100) elseif(UnitIsDead('pet')) then - return '|TInterface\\RaidFrame\\Raid-Icon-DebuffDisease:26|t' + return [[|TInterface\RaidFrame\Raid-Icon-DebuffDisease:26|t]] end end diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index e2a610c..12fc05b 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -8,10 +8,11 @@ local _, ns = ... local oUF = ns.oUF -local FONT = [=[Interface\AddOns\oUF_P3lim\semplice.ttf]=] -local TEXTURE = [=[Interface\ChatFrame\ChatFrameBackground]=] +local FONT = [[Interface\AddOns\oUF_P3lim\semplice.ttf]] +local TEXTURE = [[Interface\ChatFrame\ChatFrameBackground]] local BACKDROP = { - bgFile = TEXTURE, insets = {top = -1, bottom = -1, left = -1, right = -1} + bgFile = TEXTURE, + insets = {top = -1, bottom = -1, left = -1, right = -1} } local function PostUpdatePower(element, unit, min, max) -- 1.7.9.5