diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-07-17 15:37:36 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-07-17 15:37:36 +0000 |
commit | 59cf6bcb96acc614f97114cfa51d933857cd80be (patch) | |
tree | e04f1c6180ed6cda21c42b5d4040ba900fd7f964 /riscos/gui.c | |
parent | 5b149ba1d67a0ed9108140650bee2475a3352915 (diff) | |
download | netsurf-59cf6bcb96acc614f97114cfa51d933857cd80be.tar.gz netsurf-59cf6bcb96acc614f97114cfa51d933857cd80be.tar.bz2 |
[project @ 2003-07-17 15:37:36 by jmb]
move scrap directory
svn path=/import/netsurf/; revision=229
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index ac702ea7f..83f3e3be9 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -2398,15 +2398,16 @@ void gui_edit_textarea(struct browser_window* bw, struct gui_gadget* g) { FILE* file; - xosfile_create_dir("<Wimp$ScrapDir>.NetSurf", 77); - file = fopen("<Wimp$ScrapDir>/NetSurf/TextArea", "w"); + xosfile_create_dir("<Wimp$ScrapDir>.WWW", 77); + xosfile_create_dir("<Wimp$ScrapDir>.WWW.NetSurf", 77); + file = fopen("<Wimp$ScrapDir>/WWW/NetSurf/TextArea", "w"); if (g->data.textarea.text != 0) fprintf(file, "%s", g->data.textarea.text); fprintf(stderr, "closing file.\n"); fclose(file); - xosfile_set_type("<Wimp$ScrapDir>.NetSurf.TextArea", osfile_TYPE_TEXT); - xos_cli("filer_run <Wimp$ScrapDir>.NetSurf.TextArea"); + xosfile_set_type("<Wimp$ScrapDir>.WWW.NetSurf.TextArea", osfile_TYPE_TEXT); + xos_cli("filer_run <Wimp$ScrapDir>.WWW.NetSurf.TextArea"); } void ro_msg_datasave(wimp_message* block) |