ansilove

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

commit 7ab7f7d9bb6e79f371f4f86ccaa03b5b89120bc8
parent 87a46d2bfd150ebe89da89be1cdba4fdc620bfa0
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Thu, 22 Dec 2011 00:16:23 +0100

now properly declared as substr()

Diffstat:
Mansilove/substr.h | 2+-
Mansilove/substr.m | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansilove/substr.h b/ansilove/substr.h @@ -13,4 +13,4 @@ // Returns the portion of a string specified by start and length parameters. -char *substring(const char *str, size_t begin, size_t len); +char *substr(const char *str, size_t begin, size_t len); diff --git a/ansilove/substr.m b/ansilove/substr.m @@ -11,7 +11,7 @@ #import "substr.h" -char *substring(const char *str, size_t begin, size_t len) +char *substr(const char *str, size_t begin, size_t len) { if (str == 0 || strlen(str) == 0 || strlen(str) < begin || strlen(str) < (begin+len)) return 0;