http://bugs.winehq.org/show_bug.cgi?id=4717
--- Comment #6 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-08-16 16:01:24 --- I've sent a patch implementing the _mbsbtype (it should appear on wine-patches after it passes the moderation). It's similar to Raphael patch but I scan the string backward instead of forward as this may be sometimes faster.
After fixing this we have another problem - after choosing two (very diffferent) sample images Photoshop on Windows hides the main window and shows a Photomerge window with a message box that automatic photomerge failed and to choose the order manually. On Wine Photoshop only disables the main window without showing the other window what is as if the program hanged (the window processes correctly the WM_PAINT, WM_SIZE etc so the message loop seems to be working all the time correctly)