summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-12 17:48:12 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-12 17:48:12 +0000
commit834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed (patch)
tree5588613a3e7af3c0a5f73f552251b924d299d13a /src/utils.c
parent56949550025f447691b0f32632b35af4749da358 (diff)
downloadcalcurse-834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed.zip
New wrappers around memory functions.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 66ee6d5..e041bef 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.75 2009/07/12 16:22:01 culot Exp $ */
+/* $calcurse: utils.c,v 1.76 2009/07/12 17:48:14 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -431,7 +431,7 @@ updatestring (WINDOW *win, char **str, int x, int y)
if (!escape)
{
len = strlen (newstr) + 1;
- *str = mem_realloc (*str, len);
+ *str = mem_realloc (*str, len, 1);
EXIT_IF (*str == 0, _("out of memory"));
(void) memcpy (*str, newstr, len);
}