-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/controller/callbacks/reshape.c | 1 | ||||
-rw-r--r-- | src/model/data/base.sqc | 1 | ||||
-rw-r--r-- | src/model/geometry/datarose_geometry.c | 54 | ||||
-rw-r--r-- | src/model/geometry/datarose_geometry.h | 11 | ||||
-rw-r--r-- | src/model/geometry/density_legend_geometry.c | 13 | ||||
-rw-r--r-- | src/model/geometry/protein_geometry.c | 2 | ||||
-rw-r--r-- | src/model/state/state.h | 4 | ||||
-rw-r--r-- | src/view/geometry.c | 2 | ||||
-rw-r--r-- | src/view/init.c | 2 |
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; |