Revision: 53737
http://brlcad.svn.sourceforge.net/brlcad/?rev=53737&view=rev
Author: carlmoore
Date: 2012-11-16 21:21:57 +0000 (Fri, 16 Nov 2012)
Log Message:
-----------
fix spellings of 'allocate'
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/bspline/bspline.cpp
brlcad/trunk/src/librt/primitives/bspline/bspline_mirror.c
Modified: brlcad/trunk/src/librt/primitives/bspline/bspline.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/bspline.cpp 2012-11-16
20:38:02 UTC (rev 53736)
+++ brlcad/trunk/src/librt/primitives/bspline/bspline.cpp 2012-11-16
21:21:57 UTC (rev 53737)
@@ -1080,7 +1080,7 @@
*(uint32_t *)cp = htonl(srf->s_size[1]);
cp += SIZEOF_NETWORK_LONG;
- /* alloate for export */
+ /* allocate for export */
uknots = (double *)bu_malloc(srf->u.k_size * sizeof(double), "uknots");
vknots = (double *)bu_malloc(srf->v.k_size * sizeof(double), "vknots");
points = (double *)bu_malloc(coords * srf->s_size[0] * srf->s_size[1] *
sizeof(double), "points");
Modified: brlcad/trunk/src/librt/primitives/bspline/bspline_mirror.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bspline/bspline_mirror.c 2012-11-16
20:38:02 UTC (rev 53736)
+++ brlcad/trunk/src/librt/primitives/bspline/bspline_mirror.c 2012-11-16
21:21:57 UTC (rev 53737)
@@ -114,7 +114,7 @@
nurb->srfs[i]->s_size[0] = orig_size[1];
nurb->srfs[i]->s_size[1] = orig_size[0];
- /* allocat memory for a new control mesh */
+ /* allocate memory for a new control mesh */
ncoords = RT_NURB_EXTRACT_COORDS(nurb->srfs[i]->pt_type);
ptr = (fastf_t *)bu_calloc(orig_size[0]*orig_size[1]*ncoords,
sizeof(fastf_t), "rt_mirror: ctl mesh ptr");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits