From 0d6376f3e6db96c971d5dcf490d522025ebd0b61 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 9 Mar 2015 15:25:42 +0100 Subject: [PATCH] Call decode_path() on wxWidgets-supplied datadir. #2710 --- lib/Slic3r/GUI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm index e968e9410..1c19bce4b 100644 --- a/lib/Slic3r/GUI.pm +++ b/lib/Slic3r/GUI.pm @@ -78,7 +78,7 @@ sub OnInit { $self->{notifier} = Slic3r::GUI::Notifier->new; # locate or create data directory - $datadir ||= Wx::StandardPaths::Get->GetUserDataDir; + $datadir ||= Slic3r::decode_path(Wx::StandardPaths::Get->GetUserDataDir); my $enc_datadir = Slic3r::encode_path($datadir); Slic3r::debugf "Data directory: %s\n", $datadir;