Clean up Parameters properly.
authorIain Patterson <me@iain.cx>
Sun, 8 Mar 2015 17:24:58 +0000 (17:24 +0000)
committerIain Patterson <me@iain.cx>
Sun, 8 Mar 2015 17:24:58 +0000 (17:24 +0000)
commite072e7ea67ab219eadb6761ceba4762b345a9b1f
treed83af21dd930f03703accec669cb954a2c45a4e2
parentcfa1e729fd2e5f953153239080b17ddb70de733e
Clean up Parameters properly.

If create_parameters() failed to write Application, AppParameters or
AppDirectory it would try to clean up by deleting the Parameters key.
The method used to do so was flawed.  It would attempt to delete the key
defined by the NSSM_REGISTRY macro but that macro contains a printf
control string and is not suitable for standalone use.
registry.cpp