summaryrefslogtreecommitdiff
path: root/src/fios.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-04 00:13:52 +0000
committerrubidium <rubidium@openttd.org>2009-03-04 00:13:52 +0000
commit908e850b5aafae69fe9da04555ae8aca6682f7e5 (patch)
tree92fb15de26bbc0324614d859746420224d100181 /src/fios.cpp
parentf1a96c557726899caea40b94c8e3a8d168c98788 (diff)
downloadopenttd-908e850b5aafae69fe9da04555ae8aca6682f7e5.tar.xz
(svn r15605) -Codechange: constify a function
Diffstat (limited to 'src/fios.cpp')
-rw-r--r--src/fios.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp
index 28d09a2a0..cdab45635 100644
--- a/src/fios.cpp
+++ b/src/fios.cpp
@@ -84,7 +84,7 @@ StringID FiosGetDescText(const char **path, uint64 *total_free)
/* Browse to a new path based on the passed FiosItem struct
* @param *item FiosItem object telling us what to do
* @return a string if we have given a file as a target, otherwise NULL */
-char *FiosBrowseTo(const FiosItem *item)
+const char *FiosBrowseTo(const FiosItem *item)
{
char *path = _fios_path;