periodic style check: whitespace cleanup

leading tabs and trailing blanks
This commit is contained in:
nhmall
2026-06-10 15:52:13 -04:00
parent 49ac961884
commit 958415607b
7 changed files with 19 additions and 18 deletions
+4 -4
View File
@@ -332,15 +332,15 @@
#endif #endif
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define tparm2(s, x) tparm(s,x,0,0,0,0,0,0,0,0) #define tparm2(s, x) tparm(s,x,0,0,0,0,0,0,0,0)
#else #else
#define tparm2(s, x) tparm(s,x) #define tparm2(s, x) tparm(s,x)
#endif #endif
#if defined(BSD) || defined(ULTRIX) #if defined(BSD) || defined(ULTRIX)
#if !defined(DGUX) && !defined(SUNOS4) \ #if !defined(DGUX) && !defined(SUNOS4) \
&& !defined(__NetBSD__) && !defined(__FreeBSD__) \ && !defined(__NetBSD__) && !defined(__FreeBSD__) \
&& !defined(__OpenBSD__) && !defined(__OpenBSD__)
#define memcpy(d, s, n) bcopy(s, d, n) #define memcpy(d, s, n) bcopy(s, d, n)
#define memcmp(s1, s2, n) bcmp(s2, s1, n) #define memcmp(s1, s2, n) bcmp(s2, s1, n)
#endif #endif
+5 -5
View File
@@ -1757,11 +1757,11 @@ throwit(
} }
if (!dmg) { if (!dmg) {
if (tethered_weapon) { if (tethered_weapon) {
/* Blind mods unnecessary; you know what you threw, /* Blind mods unnecessary; you know what you threw,
* and it is tethered to your arm */ * and it is tethered to your arm */
pline("Your tethered %s snaps back but the tether slips from your %s.", pline("Your tethered %s snaps back but the tether slips from your %s.",
simpleonames(obj), body_part(ARM)); simpleonames(obj), body_part(ARM));
tether_released_msg = TRUE; tether_released_msg = TRUE;
} else { } else {
pline(Blind pline(Blind
? "%s lands %s your %s." ? "%s lands %s your %s."
+1 -1
View File
@@ -7430,7 +7430,7 @@ allopt_array_init(void)
if (allopt[i].opttyp == BoolOpt && i != opt_ascii_map) if (allopt[i].opttyp == BoolOpt && i != opt_ascii_map)
allopt[i].initval = allopt[i].opt_in_out; allopt[i].initval = allopt[i].opt_in_out;
#endif #endif
*(allopt[i].addr) = allopt[i].initval; *(allopt[i].addr) = allopt[i].initval;
} }
} }
heed_all_options(); heed_all_options();
+2 -1
View File
@@ -632,7 +632,8 @@ complex_dump(uchar *a)
for (i = 0; i < SIZE(x); ++i) { for (i = 0; i < SIZE(x); ++i) {
x[i] = *uc++; x[i] = *uc++;
} }
Snprintf(buf, sizeof buf, "%03x %03x %03x %03x %03x %03x %03x %03x %03x %03x", Snprintf(buf, sizeof buf,
"%03x %03x %03x %03x %03x %03x %03x %03x %03x %03x",
x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9]); x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9]);
buf[40] = '\0'; buf[40] = '\0';
return buf; return buf;