projects
/
lugaru.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4f269
)
fix length for strncmp()
author
Igor Gnatenko
<i.gnatenko.brain@gmail.com>
Tue, 20 Dec 2016 14:49:23 +0000
(15:49 +0100)
committer
Rémi Verschelde
<rverschelde@gmail.com>
Tue, 20 Dec 2016 17:39:57 +0000
(18:39 +0100)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Source/User/Settings.cpp
patch
|
blob
|
history
diff --git
a/Source/User/Settings.cpp
b/Source/User/Settings.cpp
index 42b719bed187199b742e98d73d8b95ac1f91e0aa..2b4dadc872a7661c9be3ac22e60756a3b51cbc46 100644
(file)
--- a/
Source/User/Settings.cpp
+++ b/
Source/User/Settings.cpp
@@
-241,7
+241,7
@@
bool LoadSettings()
ipstream >> damageeffects;
} else if ( !strncmp(setting, "Text", 4) ) {
ipstream >> texttoggle;
- } else if ( !strncmp(setting, "Devtools",
5
) ) {
+ } else if ( !strncmp(setting, "Devtools",
6
) ) {
ipstream >> devtools;
} else if ( !strncmp(setting, "Show Points", 11) ) {
ipstream >> showpoints;