From 3b410fdc89f0275afe155221d132fdeec722c322 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 6 Apr 2006 10:19:17 +0000 Subject: [PATCH] * Fixed old typo that caused qq->height to be uninitialised. --- cucul/cucul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cucul/cucul.c b/cucul/cucul.c index 9541688..87eec85 100644 --- a/cucul/cucul.c +++ b/cucul/cucul.c @@ -51,7 +51,7 @@ cucul_t * cucul_create(unsigned int width, unsigned int height) qq->fgcolor = CUCUL_COLOR_LIGHTGRAY; qq->bgcolor = CUCUL_COLOR_BLACK; - qq->width = qq->width = 0; + qq->width = qq->height = 0; qq->chars = NULL; qq->attr = NULL; qq->empty_line = qq->scratch_line = NULL;