diff options
Diffstat (limited to 'src/fs/Config.cxx')
-rw-r--r-- | src/fs/Config.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/Config.cxx b/src/fs/Config.cxx index 0034ecc61..cf789fcb7 100644 --- a/src/fs/Config.cxx +++ b/src/fs/Config.cxx @@ -29,8 +29,8 @@ #include <glib.h> #endif -void -ConfigureFS() +bool +ConfigureFS(Error &error) { #ifdef HAVE_GLIB const char *charset = nullptr; @@ -55,7 +55,9 @@ ConfigureFS() #endif } - if (charset != nullptr) - SetFSCharset(charset); + return charset == nullptr || SetFSCharset(charset, error); +#else + (void)error; + return true; #endif } |