Karthik Sheka wrote:
> Andreas Premstaller wrote:
>
>> [...]
>> The menu spec says the official accelerator is PLUS, not EQUAL.
>> However, knowing the American keybord design, I understand why EQUAL
>> is also desirable (not only, *also*!).
>>
>> BTW, on my keyboard the PLUS-accelerator does not work on the numeric
>> keypad, MINUS does. Strange...
>
>
> On mine the plus doesn't work on the numeric keypad or as Ctrl- Shift-Plus.
> Ctrl-Equal and Ctrl-Minus work fine. Just one of those stupid bugs that
> should get fixed before the CNET reviewers notice. :-)
>
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 :-)
--- mozilla/widget/src/windows/nsWindow.cpp.orig Thu Aug 9
18:35:31 2001
+++ mozilla/widget/src/windows/nsWindow.cpp Fri Aug 10 18:07:33 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 &&