summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@coffee.donpellegrino.com>2009-08-14 19:43:19 (GMT)
committer Don Pellegrino <don@coffee.donpellegrino.com>2009-08-14 19:43:19 (GMT)
commitf0d3a4564f7dbde5748ede77fcb83f29e01a24b8 (patch) (side-by-side diff)
tree0027dcc40a3797b61f58ee3e682558abdb0d9fd4
parenteef385b8057032a3f5b2d61fcc48878e849793e1 (diff)
downloadexp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.zip
exp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.tar.gz
exp005-f0d3a4564f7dbde5748ede77fcb83f29e01a24b8.tar.bz2
Trivial changes for readability.
-rw-r--r--src/controller/exp004mouse.c2
-rw-r--r--src/controller/selection_from_db.sqc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/controller/exp004mouse.c b/src/controller/exp004mouse.c
index 0f3e9d3..17ff19c 100644
--- a/src/controller/exp004mouse.c
+++ b/src/controller/exp004mouse.c
@@ -87,7 +87,7 @@ exp004mouse (int button, int state, int x, int y)
* "Specify the array to be used for the returned hit records
* with glSelectBuffer () [Redbook]."
*/
- GLuint* select_buf = calloc (S.rows, sizeof (GLuint));
+ GLuint *select_buf = calloc (S.rows, sizeof (GLuint));
glSelectBuffer (S.rows, select_buf);
/*
diff --git a/src/controller/selection_from_db.sqc b/src/controller/selection_from_db.sqc
index f40b404..f847e16 100644
--- a/src/controller/selection_from_db.sqc
+++ b/src/controller/selection_from_db.sqc
@@ -45,7 +45,7 @@ selection_from_db (void)
*/
// S.selection.set[i] = true;
- float* c = S.base_colors_data + (i * 4);
+ float *c = S.base_colors_data + (i * 4);
*c = vis_sel_set.r;
c++;
*c = vis_sel_set.g;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.