mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 17:23:09 +03:00
[project @ 2003-09-09 21:11:25 by jmb]
Move the Choices file to Choices:WWW.NetSurf - unfortunately, anyone who has already used NetSurf will now have a spurious Choices file in Choices:NetSurf svn path=/import/netsurf/; revision=276
This commit is contained in:
parent
ddb2b98716
commit
710f066cb8
@ -66,7 +66,7 @@ const char* yesno(int q)
|
||||
return "N";
|
||||
}
|
||||
|
||||
static const char * const WRITE_DIR = "<Choices$Write>.NetSurf";
|
||||
static const char * const WRITE_DIR = "<Choices$Write>.WWW.NetSurf";
|
||||
|
||||
void options_write(struct options* opt, char* filename)
|
||||
{
|
||||
@ -127,7 +127,7 @@ void options_read(struct options* opt, char* filename)
|
||||
int size;
|
||||
|
||||
fn = xcalloc(20 + (filename == 0 ? 7 : strlen(filename)), sizeof(char));
|
||||
sprintf(fn, "Choices:NetSurf.%s", filename == 0 ? "Choices" : filename);
|
||||
sprintf(fn, "Choices:WWW.NetSurf.%s", filename == 0 ? "Choices" : filename);
|
||||
|
||||
LOG(("Getting file info"));
|
||||
if (xmessagetrans_file_info(fn, &flags, &size) != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user