summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--README7
-rw-r--r--src/Makefile.am2
-rw-r--r--src/controller/callbacks/reshape.c1
-rw-r--r--src/model/data/base.sqc1
-rw-r--r--src/model/geometry/datarose_geometry.c54
-rw-r--r--src/model/geometry/datarose_geometry.h11
-rw-r--r--src/model/geometry/density_legend_geometry.c13
-rw-r--r--src/model/geometry/protein_geometry.c2
-rw-r--r--src/model/state/state.h4
-rw-r--r--src/view/geometry.c2
-rw-r--r--src/view/init.c2
11 files changed, 87 insertions, 12 deletions
diff --git a/src/model/data/base.sqc b/src/model/data/base.sqc
index f15d18b..41a651c 100644
--- a/src/model/data/base.sqc
+++ b/src/model/data/base.sqc
@@ -71,6 +71,7 @@ base (void)
char *gi_data_row = S.gi_data + (i * 20);
strncpy (gi_data_row, coordinates.gi.data, sizeof (char) * 20);
+ *(gi_data_row + coordinates.gi.length) = '\0';
float *v = S.base_vertices_data + (i * 2);
*v = coordinates.x;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.