Merge pull request #573 from marynate/PR-fix-get-data-dir

Make OS_Windows::get_data_dir return unix path
This commit is contained in:
Juan Linietsky 2014-09-17 10:45:06 -03:00
commit 357713b261

View File

@ -1835,7 +1835,7 @@ String OS_Windows::get_data_dir() const {
if (has_environment("APPDATA")) { if (has_environment("APPDATA")) {
return OS::get_singleton()->get_environment("APPDATA")+"\\"+an; return (OS::get_singleton()->get_environment("APPDATA")+"\\"+an).replace("\\","/"); // windows path to unix path to be consistent with get_resource_path
} }
} }