[Bug 18631] regedit gives wrong error when renaming keys

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 2 14:34:18 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=18631





--- Comment #4 from Jerome Leclanche <adys.wh at gmail.com>  2010-08-02 14:34:18 ---
(In reply to comment #0)
> Based off bug 18622, regedit pops up the wrong error when recasing a file. To
> preproduce:
> $ wine regedit
> insert a new key 'foobar'
> right click, rename 'foobar' to 'FOOBAR'
> Error 'File exists'.
> 
> On windows 2K, it gives:
> 'Error Renaming Value'
> 'Cannot rename foobar: The specified value name already exists. Type another
> name and try again'
> 'OK'

Had a quick look, issue is line 571 of programs/regedit/edit.c.
Problem is, the message box function expects a windows error code and cannot
display custom messages, some stuff would have to be re/written.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list