From c50dbb0035763d7b8d3e7a18b48aec4bfa1a9342 Mon Sep 17 00:00:00 2001 From: torhal Date: Sat, 21 Nov 2009 04:20:38 +0000 Subject: [PATCH] Added a debug function while I continue this overhaul - incidentally, last commit fixed the issue where clicking a list entry did not expand it. --- ARLFrame.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ARLFrame.lua b/ARLFrame.lua index 355b59c..8873834 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -136,6 +136,9 @@ local ARL_SearchText, ARL_LastSearchedText local ARL_ExpGeneralOptCB, ARL_ExpObtainOptCB, ARL_ExpBindingOptCB, ARL_ExpItemOptCB, ARL_ExpPlayerOptCB, ARL_ExpRepOptCB, ARL_RepOldWorldCB, ARL_RepBCCB, ARL_RepLKCB,ARL_ExpMiscOptCB +local function DEBUG(str, ...) + print(string.format(addon:Red("DEBUG: ") .. str, ...)) +end -- Some variables I want to use in creating the GUI later... (ZJ 8/26/08) local ExpButtonText = { -- 1.7.9.5