SCP: Make debug duplicate message reduction properly the default behavior

This commit is contained in:
Mark Pizzolato 2018-08-24 10:08:59 -07:00
parent 3f7e473b79
commit b2ff00ab87

2
scp.c
View file

@ -12226,7 +12226,7 @@ static void _sim_debug_write_flush (const char *buf, size_t len, t_bool flush)
{
char *eol;
if (!(sim_deb_switches & SWMASK ('F'))) { /* filtering disabled? */
if (sim_deb_switches & SWMASK ('F')) { /* filtering disabled? */
if (len > 0)
fwrite (buf, 1, len, sim_deb); /* output now. */
return; /* done */