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:
691b18c
)
Fix settings callback "call" lost on rebase
author
sapier
<Sapier at GMX dot net>
Mon, 1 Dec 2014 18:47:57 +0000
(19:47 +0100)
committer
sapier
<Sapier at GMX dot net>
Mon, 1 Dec 2014 18:47:57 +0000
(19:47 +0100)
src/settings.cpp
patch
|
blob
|
history
diff --git
a/src/settings.cpp
b/src/settings.cpp
index 6631ceb6e7bf1a2c87fcfb5a55af6301a21b4a59..fddadbea60de380a9574ef8bff87668f06293c92 100644
(file)
--- a/
src/settings.cpp
+++ b/
src/settings.cpp
@@
-635,9
+635,12
@@
bool Settings::getFlagStrNoEx(const std::string &name, u32 &val,
void Settings::set(const std::string &name, const std::string &value)
{
+ {
JMutexAutoLock lock(m_mutex);
m_settings[name].value = value;
+ }
+ doCallbacks(name);
}