From f7569b8d0d839071186c099db5d20e755e632638 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 14 May 2000 17:04:13 +0000 Subject: [PATCH] Whitespace is not allowed before the '#' of pre-processor directives. --- include/glquake.h | 6 +++--- source/gl_rmisc.c | 4 ++-- source/gl_rsurf.c | 2 +- source/gl_warp.c | 2 +- source/net_chan.c | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/glquake.h b/include/glquake.h index 38a6cfb..9693c0f 100644 --- a/include/glquake.h +++ b/include/glquake.h @@ -33,9 +33,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // Ender: HackHackHack #ifndef GLAPIENTRY - #ifdef APIENTRY - #define GLAPIENTRY APIENTRY - #endif +# ifdef APIENTRY +# define GLAPIENTRY APIENTRY +# endif #endif void GL_BeginRendering (int *x, int *y, int *width, int *height); diff --git a/source/gl_rmisc.c b/source/gl_rmisc.c index 734eb72..6a0d0b5 100644 --- a/source/gl_rmisc.c +++ b/source/gl_rmisc.c @@ -337,7 +337,7 @@ void R_TranslatePlayerSkin (int playernum) // instead of sending it through gl_upload 8 GL_Bind(playertextures + playernum); - #if 0 +#if 0 s = 320*200; byte translated[320*200]; @@ -353,7 +353,7 @@ void R_TranslatePlayerSkin (int playernum) // don't mipmap these, because it takes too long GL_Upload8 (translated, paliashdr->skinwidth, paliashdr->skinheight, false, false, true); - #endif +#endif scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512; scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256; diff --git a/source/gl_rsurf.c b/source/gl_rsurf.c index 0eeba9d..0429e30 100644 --- a/source/gl_rsurf.c +++ b/source/gl_rsurf.c @@ -1580,7 +1580,7 @@ void BuildSurfaceDisplayList (msurface_t *fa) VectorNormalize( v2 ); // skip co-linear points - #define COLINEAR_EPSILON 0.001 +# define COLINEAR_EPSILON 0.001 if ((fabs( v1[0] - v2[0] ) <= COLINEAR_EPSILON) && (fabs( v1[1] - v2[1] ) <= COLINEAR_EPSILON) && (fabs( v1[2] - v2[2] ) <= COLINEAR_EPSILON)) diff --git a/source/gl_warp.c b/source/gl_warp.c index 580cfa8..dac26cb 100644 --- a/source/gl_warp.c +++ b/source/gl_warp.c @@ -210,7 +210,7 @@ void GL_SubdivideSurface (msurface_t *fa) // speed up sin calculations - Ed float turbsin[] = { - #include "gl_warp_sin.h" +# include "gl_warp_sin.h" }; #define TURBSCALE (256.0 / (2 * M_PI)) diff --git a/source/net_chan.c b/source/net_chan.c index 9668877..a1bcb58 100644 --- a/source/net_chan.c +++ b/source/net_chan.c @@ -27,9 +27,9 @@ */ #ifndef _WIN32 - #include +# include #else - #include +# include #endif #include "quakedef.h"