projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c73de
)
Android: Use system provided path for default TMPFolder setting (#8505)
author
stujones11
<stujones111@gmail.com>
Sat, 15 Jun 2019 13:12:59 +0000
(14:12 +0100)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Sat, 15 Jun 2019 13:12:59 +0000
(15:12 +0200)
src/defaultsettings.cpp
patch
|
blob
|
history
diff --git
a/src/defaultsettings.cpp
b/src/defaultsettings.cpp
index c3e676f79a1ec8c89fe6ecdb6830c3401ebce5a5..dfaad0c637b85f9458eddf27f020aea2743aee9e 100644
(file)
--- a/
src/defaultsettings.cpp
+++ b/
src/defaultsettings.cpp
@@
-433,7
+433,7
@@
void set_default_settings(Settings *settings)
settings->setDefault("fullscreen", "true");
settings->setDefault("video_driver", "ogles1");
settings->setDefault("touchtarget", "true");
- settings->setDefault("TMPFolder",
"/sdcard/" PROJECT_NAME_C "/tmp/"
);
+ settings->setDefault("TMPFolder",
porting::getDataPath("tmp" DIR_DELIM)
);
settings->setDefault("touchscreen_threshold","20");
settings->setDefault("fixed_virtual_joystick", "false");
settings->setDefault("virtual_joystick_triggers_aux", "false");