* Fixed a bug that I introduced in fgWarning()/fgError(): I thought that
authorRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 06:40:51 +0000 (06:40 +0000)
committerRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 06:40:51 +0000 (06:40 +0000)
commitb016ef6d7416bc9fbe1573627995c6ea903cdc10
tree340374590cea045bcb868f1aafafac2bc2c06f81
parent0b1a7966eeafc97ab68fcf331fddeeb22ca3b619
 * Fixed a bug that I introduced in fgWarning()/fgError(): I thought that
   ((a) || (b)) was defined to have value as:
     (a) if (a) != 0
     (b) if (a) == 0

   ...instead, it has value 0/1.  This was causing a bug.  It's probably
   just as well, since what I was trying to do definitely fell into the
   category of "clever code" rather than "clear code".

   Sorry.

 * Made glutSetKeyRepeat() call fgError() if you go out of range.  (The
   old code silently did nothing---not even a warning.)

   If it is really desirable to keep running, we should probably at least
   generate an fgWarning().

 * Deleted some say-nothing-new comments.

 * XXX added: Is glutSetKeyRepeat() deprecated?

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@256 7f0cb862-5218-0410-a997-914c9d46530a
src/freeglut_cursor.c
src/freeglut_main.c
src/freeglut_misc.c