summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/controller/clear_selection.sqc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controller/clear_selection.sqc b/src/controller/clear_selection.sqc
index 65426e5..01a5364 100644
--- a/src/controller/clear_selection.sqc
+++ b/src/controller/clear_selection.sqc
@@ -5,8 +5,8 @@
#include "clear_selection.h"
#include "../view/exp004state0.h"
#include <GL/glut.h>
-
-EXEC SQL INCLUDE sqlca;
+#include "sqlca.h"
+extern struct sqlca sqlca;
/*
* A simple alias to make the code more readable.
@@ -27,7 +27,7 @@ clear_selection (void)
for (unsigned int i = 0; i < ROWS; i++)
{
- S.selection[i] = false;
+ S.selection.set[i] = false;
S.base_colors_data[i][0] = DEFAULT_COLOR_R;
S.base_colors_data[i][1] = DEFAULT_COLOR_G;
S.base_colors_data[i][2] = DEFAULT_COLOR_B;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.