Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
b70fe38e
Commit
b70fe38e
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: normalize some indentation
parent
1c528db8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/global.c
+29
-31
src/global.c
with
29 additions
and
31 deletions
+29
-31
src/global.c
View file @
b70fe38e
...
...
@@ -418,8 +418,7 @@ void assign_keyinfo(sc *s, const char *keystring)
s
->
keycode
=
0
;
else
if
(
strcasecmp
(
s
->
keystr
,
"M-Space"
)
==
0
)
s
->
keycode
=
(
int
)
' '
;
else
{
if
(
!
strcasecmp
(
s
->
keystr
,
"Up"
))
else
if
(
!
strcasecmp
(
s
->
keystr
,
"Up"
))
s
->
keycode
=
KEY_UP
;
else
if
(
!
strcasecmp
(
s
->
keystr
,
"Down"
))
s
->
keycode
=
KEY_DOWN
;
...
...
@@ -448,7 +447,6 @@ void assign_keyinfo(sc *s, const char *keystring)
s
->
keycode
=
KEY_HOME
;
else
if
(
!
strcasecmp
(
s
->
keystr
,
"End"
))
s
->
keycode
=
KEY_END
;
}
}
#ifdef DEBUG
...
...
This diff is collapsed.
Click to expand it.
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