Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
88bdc0c1
Commit
88bdc0c1
authored
Apr 27, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: In editline's keys table, use constants instead of numeric constants.
parent
078d465f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
editline.c
dlls/kernel32/editline.c
+13
-13
No files found.
dlls/kernel32/editline.c
View file @
88bdc0c1
...
...
@@ -727,13 +727,13 @@ static const KeyEntry EmacsKeyMapExtended[] =
static
const
KeyMap
EmacsKeyMap
[]
=
{
{
0
x00000000
,
1
,
StdKeyMap
},
{
0x00000001
,
1
,
EmacsKeyMapAlt
},
/* left
alt */
{
0x00000002
,
1
,
EmacsKeyMapAlt
},
/* right
alt */
{
0x00000004
,
1
,
EmacsKeyMapCtrl
},
/* left
ctrl */
{
0x00000008
,
1
,
EmacsKeyMapCtrl
},
/* right
ctrl */
{
0x00000100
,
0
,
EmacsKeyMapExtended
},
{
0
,
0
,
0
}
{
0
,
1
,
StdKeyMap
},
{
RIGHT_ALT_PRESSED
,
1
,
EmacsKeyMapAlt
},
/* right
alt */
{
LEFT_ALT_PRESSED
,
1
,
EmacsKeyMapAlt
},
/* left
alt */
{
RIGHT_CTRL_PRESSED
,
1
,
EmacsKeyMapCtrl
},
/* right
ctrl */
{
LEFT_CTRL_PRESSED
,
1
,
EmacsKeyMapCtrl
},
/* left
ctrl */
{
ENHANCED_KEY
,
0
,
EmacsKeyMapExtended
},
{
0
,
0
,
NULL
}
};
static
const
KeyEntry
Win32KeyMapExtended
[]
=
...
...
@@ -758,12 +758,12 @@ static const KeyEntry Win32KeyMapCtrlExtended[] =
static
const
KeyMap
Win32KeyMap
[]
=
{
{
0
x00000000
,
1
,
StdKeyMap
},
{
0
x00000000
,
0
,
Win32ExtraStdKeyMap
},
{
0x00000100
,
0
,
Win32KeyMapExtended
},
{
0x00000104
,
0
,
Win32KeyMapCtrlExtended
},
{
0x00000108
,
0
,
Win32KeyMapCtrlExtended
},
{
0
,
0
,
0
}
{
0
,
1
,
StdKeyMap
},
{
0
,
0
,
Win32ExtraStdKeyMap
},
{
ENHANCED_KEY
,
0
,
Win32KeyMapExtended
},
{
ENHANCED_KEY
|
RIGHT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrlExtended
},
{
ENHANCED_KEY
|
LEFT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrlExtended
},
{
0
,
0
,
NULL
}
};
#undef CTRL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment