http://bugs.winehq.org/show_bug.cgi?id=18631
--- Comment #4 from Jerome Leclanche adys.wh@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.