Guest User

IHML 5.1 Hack

a guest
Dec 4th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.36 KB | None | 0 0
  1. diff --git a/IHML.lua b/IHML.lua
  2. index 3853b23..360fcc1 100644
  3. --- a/IHML.lua
  4. +++ b/IHML.lua
  5. @@ -890,7 +890,7 @@ function addon:SwapMacro(new, silent)
  6.         return
  7.     end
  8.  
  9. -   EditMacro(index, p.macroname, icon, body, 1, 0)
  10. +   EditMacro(index, p.macroname, 'INV_MISC_QUESTIONMARK', body, 1, 0)
  11.     c.current = new
  12.     currentIcon = icon
  13.     queued = nil
  14. @@ -1223,7 +1223,7 @@ options.args.macros.args = {
  15.                 type = "description",
  16.                 name = L["Last Module"],
  17.                 order = 100,
  18. -               image = function() return 'INV_MISC_QUESTIONMARK', 56, 56 end,
  19. +               image = function() return 'INTERFACE\\ICONS\\INV_MISC_QUESTIONMARK', 56, 56 end,
  20.             },
  21.             name = {
  22.                 type = "input",
  23. @@ -1285,7 +1285,7 @@ options.args.macros.args = {
  24.                         currentIcon = tonumber(k)
  25.                         mIcon[c.current] = currentIcon
  26.                         if not InCombatLockdown() then
  27. -                           EditMacro(GetMacroIndexByName(p.macroname), p.macroname, currentIcon)
  28. +                           EditMacro(GetMacroIndexByName(p.macroname), p.macroname, 'INV_MISC_QUESTIONMARK')
  29.                         end
  30.                     end
  31.                 end,
  32. @@ -1305,7 +1305,7 @@ options.args.macros.args = {
  33.                     else
  34.                         mBody[c.current] = k
  35.                         if not InCombatLockdown() then
  36. -                           EditMacro(GetMacroIndexByName(p.macroname), p.macroname, currentIcon, k)
  37. +                           EditMacro(GetMacroIndexByName(p.macroname), p.macroname, 'INV_MISC_QUESTIONMARK', k)
  38.                         end
  39.                     end
  40.                 end,
Add Comment
Please, Sign In to add comment