periodic style check: whitespace cleanup
leading tabs and trailing blanks
This commit is contained in:
+4
-4
@@ -332,15 +332,15 @@
|
||||
#endif
|
||||
|
||||
#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
|
||||
#define tparm2(s, x) tparm(s,x)
|
||||
#define tparm2(s, x) tparm(s,x)
|
||||
#endif
|
||||
|
||||
#if defined(BSD) || defined(ULTRIX)
|
||||
#if !defined(DGUX) && !defined(SUNOS4) \
|
||||
&& !defined(__NetBSD__) && !defined(__FreeBSD__) \
|
||||
&& !defined(__OpenBSD__)
|
||||
&& !defined(__NetBSD__) && !defined(__FreeBSD__) \
|
||||
&& !defined(__OpenBSD__)
|
||||
#define memcpy(d, s, n) bcopy(s, d, n)
|
||||
#define memcmp(s1, s2, n) bcmp(s2, s1, n)
|
||||
#endif
|
||||
|
||||
+5
-5
@@ -1757,11 +1757,11 @@ throwit(
|
||||
}
|
||||
if (!dmg) {
|
||||
if (tethered_weapon) {
|
||||
/* Blind mods unnecessary; you know what you threw,
|
||||
* and it is tethered to your arm */
|
||||
pline("Your tethered %s snaps back but the tether slips from your %s.",
|
||||
simpleonames(obj), body_part(ARM));
|
||||
tether_released_msg = TRUE;
|
||||
/* Blind mods unnecessary; you know what you threw,
|
||||
* and it is tethered to your arm */
|
||||
pline("Your tethered %s snaps back but the tether slips from your %s.",
|
||||
simpleonames(obj), body_part(ARM));
|
||||
tether_released_msg = TRUE;
|
||||
} else {
|
||||
pline(Blind
|
||||
? "%s lands %s your %s."
|
||||
|
||||
+1
-1
@@ -7430,7 +7430,7 @@ allopt_array_init(void)
|
||||
if (allopt[i].opttyp == BoolOpt && i != opt_ascii_map)
|
||||
allopt[i].initval = allopt[i].opt_in_out;
|
||||
#endif
|
||||
*(allopt[i].addr) = allopt[i].initval;
|
||||
*(allopt[i].addr) = allopt[i].initval;
|
||||
}
|
||||
}
|
||||
heed_all_options();
|
||||
|
||||
+2
-1
@@ -632,7 +632,8 @@ complex_dump(uchar *a)
|
||||
for (i = 0; i < SIZE(x); ++i) {
|
||||
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]);
|
||||
buf[40] = '\0';
|
||||
return buf;
|
||||
|
||||
Reference in New Issue
Block a user