diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-06-11 13:00:20 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-06-11 13:00:20 -0400 |
commit | 159955668b23e32fb7cefa1638bb40b8b3a58fa9 (patch) | |
tree | 232b28da1a8d72ec8f23944c79d5c438a0204f92 /src/LYBookmark.c | |
parent | b5ffa7c020e319cbfceee3c506f5c16764800dc2 (diff) | |
download | lynx-snapshots-159955668b23e32fb7cefa1638bb40b8b3a58fa9.tar.gz |
snapshot of project "lynx", label v2-8-1dev_16
Diffstat (limited to 'src/LYBookmark.c')
-rw-r--r-- | src/LYBookmark.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LYBookmark.c b/src/LYBookmark.c index 8b7827bc..5d1774d2 100644 --- a/src/LYBookmark.c +++ b/src/LYBookmark.c @@ -410,6 +410,7 @@ PUBLIC void remove_bookmark_link ARGS2( struct stat stat_buf; mode_t mode; #endif /* VMS */ + char homepath[256]; CTRACE(tfp, "remove_bookmark_link: deleting link number: %d\n", cur); @@ -426,7 +427,8 @@ PUBLIC void remove_bookmark_link ARGS2( return; } - if ((nfp = LYOpenScratch(newfile, filename_buffer)) == 0) { + LYAddPathToHome(homepath, sizeof(homepath), ""); + if ((nfp = LYOpenScratch(newfile, homepath)) == 0) { fclose(fp); _statusline(BOOKSCRA_OPEN_FAILED_FOR_DEL); sleep(AlertSecs); |