summaryrefslogtreecommitdiff
path: root/src/os/unix/unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/unix.cpp')
-rw-r--r--src/os/unix/unix.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp
index 97a68f592..cec912bec 100644
--- a/src/os/unix/unix.cpp
+++ b/src/os/unix/unix.cpp
@@ -129,7 +129,8 @@ const char *GetCurrentLocale(const char *param);
/**
* Try and try to decipher the current locale from environmental
* variables. MacOSX is hardcoded, other OS's are dynamic. If no suitable
- * locale can be found, don't do any conversion "" */
+ * locale can be found, don't do any conversion ""
+ */
static const char *GetLocalCode()
{
#if defined(__APPLE__)
@@ -178,7 +179,8 @@ static const char *convert_tofrom_fs(iconv_t convd, const char *name)
/**
* Convert from OpenTTD's encoding to that of the local environment
* @param name pointer to a valid string that will be converted
- * @return pointer to a new stringbuffer that contains the converted string */
+ * @return pointer to a new stringbuffer that contains the converted string
+ */
const char *OTTD2FS(const char *name)
{
static iconv_t convd = (iconv_t)(-1);
@@ -198,7 +200,8 @@ const char *OTTD2FS(const char *name)
/**
* Convert to OpenTTD's encoding from that of the local environment
* @param name pointer to a valid string that will be converted
- * @return pointer to a new stringbuffer that contains the converted string */
+ * @return pointer to a new stringbuffer that contains the converted string
+ */
const char *FS2OTTD(const char *name)
{
static iconv_t convd = (iconv_t)(-1);