View Single Post
09-20-09, 04:43 AM   #13
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 275
Are CVars case-sensitive? Or, just as in windows's wonderful file system, are names case-sensitive when you create them, but not when you try to match them (not sure if I'm very clear, but well...). Or the case could matter when you use SetCVar, but not in config.wtf (meaning that a wrongly cased CVar would not work, but be saved in config.wtf anyway, still wrongly cased, and then corrected automatically when config.wtf is loaded).

wowwiki says that uiscale is in lower case and only useUiScale is mixed with upper cases. Maybe it's just a dumb suggestion, but well, most of the times what looks like a lack in the API is just a stupid bug.

If it doesn't help, I have two questions:
- Do you have to reload your UI if you set your UI scale via blizzard's interface options menu?
- If not, can't you simulate the process via lua by having a look at blizzard's code on wdn (or wowcompare now?) and calling their functions?

Last edited by Layrajha : 09-20-09 at 04:46 AM.
  Reply With Quote