From 906ded217057bb47ee776f09daecdf683a4dca6f Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Thu, 18 Jun 2009 21:12:17 +0000 Subject: Implemented zooming. --- 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 - -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; -- cgit v0.8.3.1-22-g547a