summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-26 02:25:03 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-26 02:25:03 +0100
commit8d8202990d0b63277fe095cc4b649d9de87d3893 (patch)
treee314a541de61d2dc7c3132a55025b8d7eb2e263d /src
parent0374d25603dfc9ec1590eee356c2c081c12b4641 (diff)
Remove some dodgy whitespace
Diffstat (limited to 'src')
-rw-r--r--src/demorec.c2
-rw-r--r--src/engineapi.h2
-rw-r--r--src/fov.c2
-rw-r--r--src/sst.c2
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