Update dbgset.c

Regarding to the function ToggleWindowSwitches (line #692):
In case of third input argument "settings" equal to NULL, local variable "i" in testing of ( i == len || settings == NULL ) will be undefined in the line #712.