Parish wrote:
> I've found that this patch will fix it. Whether this is the correct fix
> I don't know, but it doesn't seem to break anything else :-)
>
Doh! Missed some brackets out. I put the original file back in place
before running CVS last night to make sure any changes were merged and
had to re-edit the file to create the diff. Correct version below:
--- mozilla/widget/src/windows/nsWindow.cpp.orig Thu Aug 9
18:35:31 2001
+++ mozilla/widget/src/windows/nsWindow.cpp Fri Aug 10 18:32:17 2001
@@ -2435,7 +2435,8 @@
{
DispatchKeyEvent(NS_KEY_PRESS, 0, aVirtualKeyCode);
}
- else if (mIsControlDown && aVirtualKeyCode == NS_VK_SUBTRACT) {
+ else if (mIsControlDown && (aVirtualKeyCode == NS_VK_SUBTRACT ||
+ NS_VK_ADD)) {
DispatchKeyEvent(NS_KEY_PRESS, aVirtualKeyCode-64, 0);
}
else if (mIsControlDown &&