Skip to content
Snippets Groups Projects
Commit dac4695d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Disable mouse hot spot adding/clearing debug log messages

... even in debug builds (was already disabled for release builds)
parent 0e5594ec
Branches
Tags
No related merge requests found
......@@ -578,7 +578,7 @@ struct mouse_hotspot* sbbs_t::add_hotspot(struct mouse_hotspot* spot)
spot->minx = column;
if(spot->maxx < 0)
spot->maxx = cols - 1;
#ifdef _DEBUG
#if 0 //def _DEBUG
char dbg[128];
lprintf(LOG_DEBUG, "Adding mouse hot spot %ld-%ld x %ld = '%s'"
,spot->minx, spot->maxx, spot->y, c_escape_str(spot->cmd, dbg, sizeof(dbg), /* Ctrl-only? */true));
......@@ -594,7 +594,7 @@ void sbbs_t::clear_hotspots(void)
{
long spots = listCountNodes(&mouse_hotspots);
if(spots) {
#ifdef _DEBUG
#if 0 //def _DEBUG
lprintf(LOG_DEBUG, "Clearing %ld mouse hot spots", spots);
#endif
listFreeNodes(&mouse_hotspots);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment