git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced API functor with API function.
[stg.git]
/
projects
/
stargazer
/
settings_impl.cpp
diff --git
a/projects/stargazer/settings_impl.cpp
b/projects/stargazer/settings_impl.cpp
index 8511794cddc512a2be0bea12d0264ddca9a5df55..92670cb5082a345768582a2173ce06803fa0d43f 100644
(file)
--- a/
projects/stargazer/settings_impl.cpp
+++ b/
projects/stargazer/settings_impl.cpp
@@
-243,7
+243,7
@@
while (node)
{
rules = node->getValue(0);
}
{
rules = node->getValue(0);
}
-
+
if (strcasecmp(node->getName(), "DetailStatWritePeriod") == 0)
{
if (ParseDetailStatWritePeriod(node->getValue(0)) != 0)
if (strcasecmp(node->getName(), "DetailStatWritePeriod") == 0)
{
if (ParseDetailStatWritePeriod(node->getValue(0)) != 0)
@@
-457,13
+457,13
@@
while (node)
}
}
}
}
- if (strcasecmp(node->getName(), "ScriptParams") == 0)
+ if (strcasecmp(node->getName(), "ScriptParams") == 0)
+ {
+ for (int i = 0; node->getValue(i) != NULL; ++i)
{
{
- for (int i = 0; node->getValue(i) != NULL; ++i)
- {
- scriptParams.push_back(node->getValue(i));
- }
+ scriptParams.push_back(node->getValue(i));
}
}
+ }
node = node->getNextNode();
}
node = node->getNextNode();
}