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
Compare Revisions
30cf70e9542d8ef446a50f46e20dcf887acc7039...519459c5e1197bd66262b3d5eb1f12ee8013e0c7
Commits (1)
De-duplicate at the first '.' following the filename, not the path
· 519459c5
Rob Swindell
authored
Mar 26, 2022
Fix the fix to issue
#380
. Thanks for letting me know Keyop.
519459c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/prntfile.cpp
src/sbbs3/prntfile.cpp
+1
-1
No files found.
src/sbbs3/prntfile.cpp
View file @
519459c5
...
...
@@ -350,7 +350,7 @@ bool sbbs_t::random_menu(const char *name, long mode, JSObject* obj)
return
false
;
}
for
(
size_t
i
=
0
;
i
<
g
.
gl_pathc
;
i
++
)
{
char
*
ext
=
strchr
(
g
.
gl_pathv
[
i
],
'.'
);
// intentionally not using getfext() - issue #380
char
*
ext
=
strchr
(
getfname
(
g
.
gl_pathv
[
i
]
)
,
'.'
);
// intentionally not using getfext() - issue #380
if
(
ext
==
NULL
)
continue
;
*
ext
=
0
;
...
...