Mercurial > hg > xemacs-beta
diff src/events.c @ 5055:79564cbad5f3
Simplify assertion in events.c so it will build under Visual Studio 6
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Sun, 21 Feb 2010 23:20:44 -0500 |
parents | 92dc90c0bb40 |
children | 2a462149bd6a a48ef26d87ee |
line wrap: on
line diff
--- a/src/events.c Sun Feb 21 20:58:45 2010 -0600 +++ b/src/events.c Sun Feb 21 23:20:44 2010 -0500 @@ -2134,11 +2134,12 @@ pointer points to random memory, often filled with 0, sometimes not. */ /* #### Chuck, do we still need this crap? */ +#ifdef HAVE_TOOLBARS assert (NILP (ret_obj1) || GLYPHP (ret_obj1) -#ifdef HAVE_TOOLBARS - || TOOLBAR_BUTTONP (ret_obj1) + || TOOLBAR_BUTTONP (ret_obj1)); +#else + assert (NILP (ret_obj1) || GLYPHP (ret_obj1)); #endif - ); assert (NILP (ret_obj2) || EXTENTP (ret_obj2) || CONSP (ret_obj2)); if (char_x)