Skip to content
Snippets Groups Projects
Commit ecfb9d9e authored by veitsupateit's avatar veitsupateit
Browse files

fix

parent b8228e6c
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ try
end
end
end
% Keep track of last gaze position:
% Keep track of last eye position:
mxold = mx;
myold = my;
......@@ -164,7 +164,7 @@ try
if GetSecs() - t0 >= 5.0
break;
end
% Abort keypress or mouse-click or if longer than 5 seconds
% Abort keypress or mouse-click
if KbCheck | find(buttons)
break;
end
......@@ -176,7 +176,9 @@ catch
ShowCursor;
Priority(0);
psychrethrow(psychlasterror);
end %try..catch..
%try..catch..
end
% Close textures so they do not linger in memory
Screen('Close', foveatex);
......
......@@ -60,6 +60,7 @@ try
sca;
ShowCursor;
Priority(0);
% Gotta catch 'em all
catch
sca;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment