-rw-r--r-- | src/controller/clear_selection.sqc | 6 |
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 @@ | |||
5 | #include "clear_selection.h" | 5 | #include "clear_selection.h" |
6 | #include "../view/exp004state0.h" | 6 | #include "../view/exp004state0.h" |
7 | #include <GL/glut.h> | 7 | #include <GL/glut.h> |
8 | 8 | #include "sqlca.h" | |
9 | EXEC SQL INCLUDE sqlca; | 9 | extern struct sqlca sqlca; |
10 | 10 | ||
11 | /* | 11 | /* |
12 | * A simple alias to make the code more readable. | 12 | * A simple alias to make the code more readable. |
@@ -27,7 +27,7 @@ clear_selection (void) | |||
27 | 27 | ||
28 | for (unsigned int i = 0; i < ROWS; i++) | 28 | for (unsigned int i = 0; i < ROWS; i++) |
29 | { | 29 | { |
30 | S.selection[i] = false; | 30 | S.selection.set[i] = false; |
31 | S.base_colors_data[i][0] = DEFAULT_COLOR_R; | 31 | S.base_colors_data[i][0] = DEFAULT_COLOR_R; |
32 | S.base_colors_data[i][1] = DEFAULT_COLOR_G; | 32 | S.base_colors_data[i][1] = DEFAULT_COLOR_G; |
33 | S.base_colors_data[i][2] = DEFAULT_COLOR_B; | 33 | S.base_colors_data[i][2] = DEFAULT_COLOR_B; |