View Single Post
03-12-14, 06:16 PM   #21
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Add the part highlighted in teal:
Code:
			else
				if value < valueMax then
					for j = 1, #shorts do
						local v = shorts[j]
						if valueMax >= v[1] then
							return fontString:SetFormattedText(t[3] .. "/" .. v[3], value / t[2], valueMax / v[2])
						end
					end
				end
				return fontString:SetFormattedText(t[3], value / t[2])
			end
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote