[PATCH 1/3] [Kernel32]: in edit line, fix the insert key management
Eric Pouech
eric.pouech at orange.fr
Mon Jan 24 15:13:17 CST 2011
fix for #25856
A+
---
dlls/kernel32/editline.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c
index 2f3cde6..c2799af 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -788,7 +788,6 @@ static const KeyEntry StdKeyMap[] =
{/*BACK*/0x08, WCEL_DeletePrevChar },
{/*RETURN*/0x0d, WCEL_Done },
{/*DEL*/127, WCEL_DeleteCurrChar },
- {/*VK_INSERT*/0x2d, WCEL_ToggleInsert },
{ 0, NULL }
};
@@ -850,6 +849,7 @@ static const KeyEntry EmacsStdKeyMap[] =
{/*VK_RIGHT*/0x27, WCEL_MoveRight },
{/*VK_LEFT*/ 0x25, WCEL_MoveLeft },
{/*VK_DEL*/ 0x2e, WCEL_DeleteCurrChar },
+ {/*VK_INSERT*/0x2d, WCEL_ToggleInsert },
{ 0, NULL }
};
More information about the wine-patches
mailing list