From 7fec2b02d419ab1de5589fb34d4fad90e9998aab Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Thu, 17 Oct 2013 22:47:09 +0200
Subject: fs/Charset: GetFSCharset() returns "utf-8" by default

If fs_charset is empty, i.e. we're using the default "utf-8",
GetFSCharset() should return exactly that instead of an empty
std::string.
---
 src/fs/Charset.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/fs/Charset.hxx')

diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index 19dabeb2b..a89cb0459 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -29,7 +29,7 @@
  * Gets file system character set name.
  */
 gcc_const
-const std::string &
+const char *
 GetFSCharset();
 
 void
-- 
cgit v1.2.3