]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - form/fty_int.c
ncurses 5.6 - patch 20070812
[ncurses.git] / form / fty_int.c
index 13fef6272366239b83e9cef45bf53a76e87719da..d8ac3d03d709d2a72e3356b129f3d3c54d9ab2ed 100644 (file)
@@ -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_int.c,v 1.20 2006/04/22 21:33:05 tom Exp $")
+MODULE_ID("$Id: fty_int.c,v 1.21 2007/02/03 23:37:46 tom Exp $")
 
 #if USE_WIDEC_SUPPORT
 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c)))
@@ -67,6 +67,7 @@ Make_This_Type(va_list *ap)
 
   if (argp)
     {
+      T((T_CREATE("thisARG %p"), argp));
       argp->precision = va_arg(*ap, int);
       argp->low = va_arg(*ap, long);
       argp->high = va_arg(*ap, long);
@@ -92,7 +93,10 @@ Copy_This_Type(const void *argp)
     {
       result = (thisARG *) malloc(sizeof(thisARG));
       if (result)
-       *result = *ap;
+       {
+         T((T_CREATE("thisARG %p"), result));
+         *result = *ap;
+       }
     }
   return (void *)result;
 }