[Bug 17926] Wrong Return key handling in file dialog

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 12 08:53:39 CST 2010


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





--- Comment #7 from Gabriele Moabiti <gabmoa at yahoo.it>  2010-02-12 08:53:39 ---

I think this fix the problem so it's like on windows:

dlls/comdlg32/filedlg.c

BOOL FILEDLG95_OnOpen(HWND hwnd)
{

  ...

  TRACE("hwnd=%p\n", hwnd);

  /* get the files from the edit control */
  nFileCount = FILEDLG95_FILENAME_GetFileNames(hwnd, &lpstrFileList,
&sizeUsed);

+  if (BrowseSelectedFolder(hwnd))
+     return FALSE;

  /* try if the user selected a folder in the shellview */
  if(nFileCount == 0)
-  {
-      BrowseSelectedFolder(hwnd);
      return FALSE;
-  }

  ...

-- 
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