summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-07-09 21:36:55 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-07-09 21:36:55 +0000
commit513793a060bfe2a6da98ca77f16ee150c956883c (patch)
treef44ecf9fc9e83974453c534177033751f683d837 /beos
parente51ea4e0ee3ec45de0c661abd8eb04d433cdbfdf (diff)
downloadnetsurf-513793a060bfe2a6da98ca77f16ee150c956883c.tar.gz
netsurf-513793a060bfe2a6da98ca77f16ee150c956883c.tar.bz2
Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp
index 80bb50eb7..b0f23b61b 100644
--- a/beos/beos_gui.cpp
+++ b/beos/beos_gui.cpp
@@ -1207,7 +1207,7 @@ char *filename_from_path(char *path)
* \return true on success
*/
-bool path_add_part(char *path, int length, char *newpart)
+bool path_add_part(char *path, int length, const char *newpart)
{
if(path[strlen(path) - 1] != '/')
strncat(path, "/", length);