Eric Pouech : kernel32: In edit line, fix the insert key management.

Alexandre Julliard julliard at winehq.org
Tue Jan 25 12:01:41 CST 2011


Module: wine
Branch: master
Commit: 5f2370b0aac2548a9764776104695da08ec38938
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5f2370b0aac2548a9764776104695da08ec38938

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Mon Jan 24 22:13:17 2011 +0100

kernel32: In edit line, fix the insert key management.

---

 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-cvs mailing list