Work on status: Add \s[]\ \r[]\ sequences for text & rectangle

This commit is contained in:
Martin Duquesnoy
2012-01-09 19:35:57 +01:00
parent 2a47c21c01
commit f6c0bc8a6c
4 changed files with 232 additions and 10 deletions

View File

@@ -76,8 +76,8 @@ xstrdup(const char *str)
{
char *ret;
if (str == NULL || (ret = strdup(str)) == NULL)
err(EXIT_FAILURE, "strdup(%s)", str);
if(str == NULL || (ret = strdup(str)) == NULL)
warnx("strdup(%s)", str);
return ret;
}