X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffty_int.c;h=dc2eab3e636b7026c6ba9cfc94237e9360df45dc;hp=e9850883281f8c69a44273d93fd8c42ff95759c3;hb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1;hpb=3a9b6a3bf0269231bef7de74757a910dedd04e0c diff --git a/form/fty_int.c b/form/fty_int.c index e9850883..dc2eab3e 100644 --- a/form/fty_int.c +++ b/form/fty_int.c @@ -13,7 +13,7 @@ #include "form.priv.h" -MODULE_ID("$Id: fty_int.c,v 1.7 1997/04/19 15:22:40 juergen Exp $") +MODULE_ID("$Id: fty_int.c,v 1.8 1997/10/18 19:32:50 tom Exp $") typedef struct { int precision; @@ -53,15 +53,15 @@ static void *Make_Integer_Type(va_list * ap) static void *Copy_Integer_Type(const void * argp) { const integerARG *ap = (const integerARG *)argp; - integerARG *new = (integerARG *)0; + integerARG *result = (integerARG *)0; if (argp) { - new = (integerARG *)malloc(sizeof(integerARG)); - if (new) - *new = *ap; + result = (integerARG *)malloc(sizeof(integerARG)); + if (result) + *result = *ap; } - return (void *)new; + return (void *)result; } /*---------------------------------------------------------------------------