X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffty_enum.c;h=6c39e9f4692a57096ec944246e8a0f82bd8d5db9;hp=054cc4dc862d6f69d0b2b618c873e851cc5b9a76;hb=5242fccf157e715ed878455a3efea6c82b840eb5;hpb=ca5fdd32fd43d84fe3d720cd5c07fba28fc506a4 diff --git a/form/fty_enum.c b/form/fty_enum.c index 054cc4dc..6c39e9f4 100644 --- a/form/fty_enum.c +++ b/form/fty_enum.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -34,7 +34,7 @@ #include "form.priv.h" -MODULE_ID("$Id: fty_enum.c,v 1.20 2006/04/22 21:33:05 tom Exp $") +MODULE_ID("$Id: fty_enum.c,v 1.21 2007/02/03 23:37:46 tom Exp $") typedef struct { @@ -64,6 +64,7 @@ Make_Enum_Type(va_list *ap) char **kp = (char **)0; int ccase, cunique; + T((T_CREATE("enumARG %p"), argp)); argp->kwds = va_arg(*ap, char **); ccase = va_arg(*ap, int); cunique = va_arg(*ap, int); @@ -99,7 +100,10 @@ Copy_Enum_Type(const void *argp) result = (enumARG *)malloc(sizeof(enumARG)); if (result) - *result = *ap; + { + T((T_CREATE("enumARG %p"), result)); + *result = *ap; + } } return (void *)result; }