mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 03:12:05 +03:00
[project @ 2006-01-02 22:15:28 by rjw]
Fix claiming resulting in incorrect filenames. svn path=/import/netsurf/; revision=1965
This commit is contained in:
parent
f84dedbe4d
commit
f6f12a3116
@ -88,7 +88,7 @@ bool ro_filename_claim(const char *filename) {
|
||||
struct directory *dir;
|
||||
|
||||
/* filename format is always '01.23.45.XX' */
|
||||
strncpy(dir_prefix, filename, 8);
|
||||
strncpy(dir_prefix, filename, 9);
|
||||
dir_prefix[9] = '\0';
|
||||
file = (filename[10] + filename[9] * 10 - START_PREFIX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user