remove stray tabs from *.c files and config.h

This commit is contained in:
nhmall
2025-08-19 08:35:39 -04:00
parent 070730d845
commit 6c3e70ad77
18 changed files with 57 additions and 57 deletions

View File

@@ -614,7 +614,7 @@ savebones(int how, time_t when, struct obj *corpse)
/* if a bones pool digit is in use, it precedes the bonesid
string and isn't recorded in the file */
Sfo_char(nhfp, &c, "bones_count", 1);
Sfo_char(nhfp, bonesid, "bonesid", (int) c); /* DD.nnn */
Sfo_char(nhfp, bonesid, "bonesid", (int) c); /* DD.nnn */
savefruitchn(nhfp);
update_mlstmv(); /* update monsters for eventual restoration */
savelev(nhfp, ledger_no(&u.uz));

View File

@@ -2106,7 +2106,7 @@ make_converted_name(const char *filename)
#endif /* UNIX || WIN32 */
if (dir) {
finaldirchar = c_eos(dir);
finaldirchar--;
finaldirchar--;
if (!(*finaldirchar == '/' || *finaldirchar == '\\'
|| *finaldirchar == ':')) {
needsep = TRUE;

View File

@@ -860,7 +860,7 @@ dorecover(NHFILE *nhfp)
restoreinfo.mread_flags = 1; /* return despite error */
while (1) {
Sfi_xint8(nhfp, &ltmp, "gamestate-level_number");
if (nhfp->eof)
if (nhfp->eof)
break;
getlev(nhfp, 0, ltmp);
#ifdef MICRO

View File

@@ -54,7 +54,7 @@ dosave(void)
program_state.done_hup = 0;
#endif
if (dosave0()) {
program_state.savefile_completed++;
program_state.savefile_completed++;
u.uhp = -1; /* universal game's over indicator */
if (soundprocs.sound_exit_nhsound)
(*soundprocs.sound_exit_nhsound)("dosave");
@@ -564,7 +564,7 @@ savelevl(NHFILE *nhfp)
for (x = 0; x < COLNO; x++) {
for (y = 0; y < ROWNO; y++) {
Sfo_rm(nhfp, &levl[x][y], "location-rm");
}
}
}
return;
}

View File

@@ -506,7 +506,7 @@ bwrite(int fd, const genericptr_t loc, unsigned num)
fprintf(ofp[fd], "%08ld, %08ld, %d\n", ocnt,
ftell(ofp[fd]), num);
ocnt++;
}
}
}
#endif
@@ -559,7 +559,7 @@ mread(int fd, genericptr_t buf, unsigned len)
fprintf(ifp[fd], "%08ld, %08ld, %d\n", icnt,
ftell(ifp[fd]), (int) len);
icnt++;
}
}
}
#endif