refers to SDL_Error() which requires SDL_error.h to be include but
currently is not. if this is intentional please ignore this email otherwise
hooray for me!
Hooray for you!
Great library. Keep up the excellent code / remark standards.
Thanks.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Hi,
SDL_Keyboard.c
line 536
int SDL_EnableKeyRepeat(int delay, int interval)
{
if ( delay < 0 ) {
SDL_SetError("keyboard repeat delay less than zero");
return(-1);
...
}
refers to SDL_Error() which requires SDL_error.h to be include but
currently is not. if this is intentional please ignore this email otherwise
hooray for me!
Great library. Keep up the excellent code / remark standards.
Daniel Vidoni
Director, Synchronicity Entertainment.
Sydney, Australia.
Hi again,
SDL_Keyboard.c
line 498
/*
* jk 991215 - Added
*/
if (repeatable && (SDL_KeyRepeat.delay != 0)) {
SDL_KeyRepeat.evt = event;
SDL_KeyRepeat.firsttime = 1;
SDL_KeyRepeat.timestamp=SDL_GetTicks();
}
SDL_PushEvent(&event);
refers to SDL_GetTicks() which requires SDL_timer.h to be include but
currently is not.
Daniel Vidoni
Director, Synchronicity Entertainment.
Sydney, Australia.