From 8d8202990d0b63277fe095cc4b649d9de87d3893 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 26 May 2022 02:25:03 +0100 Subject: Remove some dodgy whitespace --- src/demorec.c | 2 +- src/engineapi.h | 2 +- src/fov.c | 2 +- src/sst.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/demorec.c b/src/demorec.c index 5c79384..448e92d 100644 --- a/src/demorec.c +++ b/src/demorec.c @@ -353,7 +353,7 @@ static bool find_WriteMessages(void) { DECL_VFUNC_DYN(int, GetEngineBuildNumber) -bool demorec_custom_init(void) { +bool demorec_custom_init(void) { if (!has_vtidx_GetEngineBuildNumber || !has_vtidx_RecordPacket) { con_warn("demorec: custom: missing gamedata entries for this engine\n"); return false; diff --git a/src/engineapi.h b/src/engineapi.h index fc191ca..0f4fa8f 100644 --- a/src/engineapi.h +++ b/src/engineapi.h @@ -109,7 +109,7 @@ struct SendTable { bool inited : 1; bool waswritten : 1; /* "has props encoded against current tick count" ??? */ - bool haspropsenccurtickcnt : 1; + bool haspropsenccurtickcnt : 1; }; struct ServerClass { char *name; diff --git a/src/fov.c b/src/fov.c index 46b90d2..151fa2e 100644 --- a/src/fov.c +++ b/src/fov.c @@ -52,7 +52,7 @@ static bool find_SetDefaultFOV(struct con_cmd *fov) { // SetDefaultFOV is the third. if (p[0] == X86_CALL && ++callcnt == 3) { orig_SetDefaultFOV = (SetDefaultFOV_func)(p + 5 + - mem_loadoffset(p + 1)); + mem_loadoffset(p + 1)); return true; } int len = x86_len(p); diff --git a/src/sst.c b/src/sst.c index 293a6b4..b4a63aa 100644 --- a/src/sst.c +++ b/src/sst.c @@ -92,7 +92,7 @@ DEF_CCMD_HERE(sst_autoload_enable, "Register SST to load on game startup", 0) { return; } // arbitrary aesthetic judgement - for (os_char *p = relpath; *p; ++p) if (*p == L'\\') *p = L'/'; + for (os_char *p = relpath; *p; ++p) if (*p == L'\\') *p = L'/'; #else #error TODO(linux): implement this, it's late right now and I can't be bothered #endif -- cgit v1.2.3