[ros-bugs] [Bug 803] New: Notepad find dialog bug and fix
ReactOS.Bugzilla at reactos.com
ReactOS.Bugzilla at reactos.com
Fri Sep 23 15:43:31 CEST 2005
http://reactos.com/bugzilla/show_bug.cgi?id=803
Summary: Notepad find dialog bug and fix
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: Microsoft Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: Shell
AssignedTo: ros-bugs at reactos.com
ReportedBy: npwoods at mess.org
QAContact: ros-bugs at reactos.com
1. Open ReactOS Notepad
2. Copy some text
3. Open the Find dialog
4. Press Ctrl+V (Paste)
RESULT: Pasted text goes to notepad window, not the find dialog
FIX: The problem is that TranslateAccelerator() is called before
IsDialogMessage(); this order needs to be reversed. In WinMain in
subsys/system/notepad/main.c, change:
if (!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg) &&
!IsDialogMessage(Globals.hFindReplaceDlg, &msg))
to
if (!IsDialogMessage(Globals.hFindReplaceDlg, &msg) &&
!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg))
--
Configure bugmail: http://reactos.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
More information about the Ros-bugs
mailing list