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
1c2b3567
Commit
1c2b3567
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: adjust some indentation
parent
add0d698
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/files.c
+15
-18
src/files.c
with
15 additions
and
18 deletions
+15
-18
src/files.c
View file @
1c2b3567
...
...
@@ -919,21 +919,18 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw
if
(
!
writable
)
statusline
(
ALERT
,
"File '%s' is unwritable"
,
filename
);
else
if
(
format
==
3
)
{
statusline
(
HUSH
,
/* TRANSLATORS: Keep the next four messages at most 76 characters. */
P_
(
"Read %lu line (Converted from DOS and Mac format)"
,
/* TRANSLATORS: Keep the next four messages at most 78 characters. */
statusline
(
HUSH
,
P_
(
"Read %lu line (Converted from DOS and Mac format)"
,
"Read %lu lines (Converted from DOS and Mac format)"
,
(
unsigned
long
)
num_lines
),
(
unsigned
long
)
num_lines
);
}
else
if
(
format
==
2
)
{
openfile
->
fmt
=
MAC_FILE
;
statusline
(
HUSH
,
P_
(
"Read %lu line (Converted from Mac format)"
,
statusline
(
HUSH
,
P_
(
"Read %lu line (Converted from Mac format)"
,
"Read %lu lines (Converted from Mac format)"
,
(
unsigned
long
)
num_lines
),
(
unsigned
long
)
num_lines
);
}
else
if
(
format
==
1
)
{
openfile
->
fmt
=
DOS_FILE
;
statusline
(
HUSH
,
P_
(
"Read %lu line (Converted from DOS format)"
,
statusline
(
HUSH
,
P_
(
"Read %lu line (Converted from DOS format)"
,
"Read %lu lines (Converted from DOS format)"
,
(
unsigned
long
)
num_lines
),
(
unsigned
long
)
num_lines
);
}
else
...
...
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