Revision: 54883
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54883&view=rev
Author:   r_weiss
Date:     2013-03-26 16:26:27 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
Fix a windows build error.

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/molecule.c

Modified: brlcad/trunk/src/proc-db/molecule.c
===================================================================
--- brlcad/trunk/src/proc-db/molecule.c 2013-03-26 16:04:15 UTC (rev 54882)
+++ brlcad/trunk/src/proc-db/molecule.c 2013-03-26 16:26:27 UTC (rev 54883)
@@ -185,12 +185,12 @@
 process_sphere(int id, fastf_t *center, double rad, int sph_type)
 {
     struct sphere *newsph;
-    BU_ALLOC(newsph, struct sphere);
-
     char nm[128], nm1[128];
     unsigned char rgb[3];
     struct wmember reg_head;
 
+    BU_ALLOC(newsph, struct sphere);
+
     rgb[0] = atom_list[sph_type].red;
     rgb[1] = atom_list[sph_type].green;
     rgb[2] = atom_list[sph_type].blue;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to