elementary: Fix a warning

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66307
This commit is contained in:
Mike McCormack 2011-12-17 20:45:00 +00:00
parent fa37e206ae
commit 2e37317cbc
1 changed files with 2 additions and 2 deletions

View File

@ -4,14 +4,14 @@
#include <Elementary.h>
#include "elm_priv.h"
static char *
char *
_str_ncpy(char *dest, const char *src, size_t count)
{
if ((!dest) || (!src)) return NULL;
return strncpy(dest, src, count);
}
static char *
char *
_str_append(char *str, const char *txt, int *len, int *alloc)
{
int txt_len = strlen(txt);