public
Description: WoW Addon - Simple font replacement
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/tekticles.git
Click here to lend your support to: tekticles and make a donation at www.pledgie.com !
Fix for people who don't have LibStub (that's possible?)
tekkub (author)
Fri May 30 11:01:49 -0700 2008
commit  6f809682e0a6513b686116d8c96910d9759bcaef
tree    5e40c5d22ca1e4eb3f5a437e3b60309b15a25b9e
parent  5f50ec7030313132711eec1185ac36df187ff3e4
...
86
87
88
89
 
90
91
92
...
86
87
88
 
89
90
91
92
0
@@ -86,7 +86,7 @@ f:SetScript("OnEvent", function()
0
 end)
0
 
0
 
0
-local LSM = LibStub:GetLibrary("LibSharedMedia-3.0", true)
0
+local LSM = LibStub and LibStub:GetLibrary("LibSharedMedia-3.0", true)
0
 if LSM then
0
   LSM:Register(LSM.MediaType.FONT, "Calibri", "Interface\\AddOns\\tekticles\\Calibri.ttf")
0
   LSM:Register(LSM.MediaType.FONT, "Calibri Bold", "Interface\\AddOns\\tekticles\\CalibriBold.ttf")

Comments

    No one has commented yet.