mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix Travis failures from transcoding fixes.
This commit is contained in:
parent
14c30344c2
commit
c443160737
@ -66,11 +66,11 @@ extern "C" {
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/locale.hpp>
|
||||
#include <codecvt>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#if PLATFORM(WINDOWS)
|
||||
#include <codecvt>
|
||||
using codecvt = std::codecvt_utf8<wchar_t, 0x10FFFF, std::little_endian>;
|
||||
using string = std::wstring;
|
||||
#else
|
||||
@ -554,8 +554,8 @@ get_userdata_home(void)
|
||||
if (try_tmp_dir)
|
||||
{
|
||||
bfs::path newpath(g_get_tmp_dir (), cvt);
|
||||
newpath.imbue(bfs_locale);
|
||||
userdata_home = std::move(newpath);
|
||||
userdata_home = newpath / g_get_user_name ();
|
||||
userdata_home.imbue(bfs_locale);
|
||||
}
|
||||
g_assert(!userdata_home.empty());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user