regedit: Don't allow square-bracketed registry paths on the command line (to match...
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 15 Jun 2007 16:58:42 +0000 (18:58 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Jun 2007 10:13:55 +0000 (12:13 +0200)
commitf6d5738d9a1a3117e2a43c4cb2ab673db37ed59e
treeae8a69a7f8a52893ecff88b1a8c3adf2b121aad4
parent8585fb3112b5ae204f0e2dd9844aa97dd2d9d560
regedit: Don't allow square-bracketed registry paths on the command line (to match native).

The only place they are allowed is in .reg files, so exclusively deal with them in processRegEntry().
Fix detection of the trailing ']' in processRegEntry(): it can be followed by some garbage.
programs/regedit/regproc.c