ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 76ddb05c246a8664d12b24893341c2919b4c335b
parent 5352eca2db8417f73dbb7ae3ea17c1defc96b08d
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Mon, 26 Dec 2011 21:55:59 +0100

exact implementation of the PHP function strtolower()

Diffstat:
Mansilove/strtolower.c | 2+-
Mansilove/strtolower.h | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ansilove/strtolower.c b/ansilove/strtolower.c @@ -18,7 +18,7 @@ char *strtolower(char *str) { char *p; - for (p = str; *p != '\0'; ++p) + for (p = str; *p != '\0'; ++p) { *p = tolower(*p); } diff --git a/ansilove/strtolower.h b/ansilove/strtolower.h @@ -20,8 +20,7 @@ #ifndef strtolower_h #define strtolower_h -// This is a port of the PHP function strtolower(), providing -// in-place modification of a string to be all lower case. +// In-place modification of a string to be all lower case. char *strtolower(char *str); #endif