projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990925-2-src
[rocksndiamonds.git]
/
src
/
misc.c
diff --git
a/src/misc.c
b/src/misc.c
index 33db03d76a76cc080df7fda89735e48008b6596d..3da335978e5a2a539899ad89edc9c3e5bb77cabc 100644
(file)
--- a/
src/misc.c
+++ b/
src/misc.c
@@
-347,6
+347,7
@@
char *getStringToLower(char *s)
while (*s)
*s_ptr++ = tolower(*s++);
while (*s)
*s_ptr++ = tolower(*s++);
+ *s_ptr = '\0';
return s_copy;
}
return s_copy;
}