From 5f10d888d947a3899e91c7b04e8af0f8aa75d40e Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 12 Jan 2013 10:46:18 +0100 Subject: [PATCH] Don't use magic constants --- TomTom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom.lua b/TomTom.lua index 0c9dc01..9948aee 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -474,7 +474,7 @@ end -------------------------------------------------------------------]]-- StaticPopupDialogs["TOMTOM_REMOVE_ALL_CONFIRM"] = { - preferredIndex = 3, + preferredIndex = STATICPOPUPS_NUMDIALOGS, text = L["Are you sure you would like to remove ALL TomTom waypoints?"], button1 = L["Yes"], button2 = L["No"], -- 1.7.9.5