X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffty_alnum.c;h=2408b8cd4401bae75e7d7d6860b96961e3271429;hp=c2d056b70acb7df69c83bece3f80b7379ddaca0b;hb=5242fccf157e715ed878455a3efea6c82b840eb5;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/form/fty_alnum.c b/form/fty_alnum.c index c2d056b7..2408b8cd 100644 --- a/form/fty_alnum.c +++ b/form/fty_alnum.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2005,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_alnum.c,v 1.19 2006/04/22 21:33:05 tom Exp $") +MODULE_ID("$Id: fty_alnum.c,v 1.20 2007/02/03 23:37:46 tom Exp $") #define thisARG alnumARG @@ -58,7 +58,10 @@ Make_This_Type(va_list *ap) thisARG *argp = (thisARG *) malloc(sizeof(thisARG)); if (argp) - argp->width = va_arg(*ap, int); + { + T((T_CREATE("thisARG %p"), argp)); + argp->width = va_arg(*ap, int); + } return ((void *)argp); } @@ -78,7 +81,10 @@ Copy_This_Type(const void *argp) thisARG *result = (thisARG *) malloc(sizeof(thisARG)); if (result) - *result = *ap; + { + T((T_CREATE("thisARG %p"), result)); + *result = *ap; + } return ((void *)result); }