Minor simplification to beep_em

This commit is contained in:
Kevin Easton
2017-06-26 16:54:50 +10:00
parent 06aa5cb671
commit 0e9925f122

View File

@@ -1321,15 +1321,12 @@ int BX_end_strcmp (const char *one, const char *two, int bytes)
/* beep_em: Not hard to figure this one out */
void BX_beep_em (int beeps)
{
int cnt,
i;
int i;
for (cnt = beeps, i = 0; i < cnt; i++)
for (i = 0; i < beeps; i++)
term_beep();
}
FILE *open_compression (char *executable, char *filename, int hook)
{
FILE *file_pointer = NULL;