Thread: Resize frame
View Single Post
07-11-14, 08:04 PM   #31
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
That's not a very good excuse for using values that are techinically wrong. While the WoW API will auto-correct "TopLeft" to "TOPLEFT" when you pass that wrong value into eg. SetPoint, the value you get back from, eg. GetPoint will be the correctly-written "TOPLEFT", which means if you're ever comparing values, either your comparison will fail because you're using the wrong value, or your code ends up with inconsistent capitalization depending on what you're doing with the string at the moment. Much better to just use the correct values in the first place in a case-sensitive language like Lua.
__________________
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