Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
b18353cb
Commit
b18353cb
authored
Apr 24, 2021
by
Rob Swindell
💬
Browse files
Show removed files in error color (red).
parent
18af43a4
Pipeline
#2020
passed with stage
in 7 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/sbbs3/file.cpp
src/sbbs3/file.cpp
+1
-0
src/sbbs3/listfile.cpp
src/sbbs3/listfile.cpp
+1
-1
No files found.
src/sbbs3/file.cpp
View file @
b18353cb
...
...
@@ -226,6 +226,7 @@ bool sbbs_t::removefile(smb_t* smb, file_t* f)
,
f
->
name
,
cfg
.
lib
[
cfg
.
dir
[
smb
->
dirnum
]
->
lib
]
->
sname
,
cfg
.
dir
[
smb
->
dirnum
]
->
sname
);
logline
(
"U-"
,
str
);
f
->
hdr
.
attr
|=
MSG_DELETE
;
return
true
;
}
errormsg
(
WHERE
,
ERR_REMOVE
,
f
->
name
,
result
,
smb
->
last_error
);
...
...
src/sbbs3/listfile.cpp
View file @
b18353cb
...
...
@@ -364,7 +364,7 @@ bool sbbs_t::listfile(file_t* f, uint dirnum, const char *search, const char let
}
cond_newline
();
attr
(
cfg
.
color
[
clr_filename
]);
attr
(
cfg
.
color
[
(
f
->
hdr
.
attr
&
MSG_DELETE
)
?
clr_err
:
clr_filename
]);
char
fname
[
SMB_FILEIDX_NAMELEN
+
1
];
if
(
namelen
<
12
||
cols
<
132
)
namelen
=
12
;
...
...
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