Commit 8dd98cfd authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Disable mouse hot spot adding/clearing debug log messages

... even in debug builds (was already disabled for release builds)
parent 5a588260
Pipeline #2528 passed with stage
in 9 minutes and 24 seconds
...@@ -578,7 +578,7 @@ struct mouse_hotspot* sbbs_t::add_hotspot(struct mouse_hotspot* spot) ...@@ -578,7 +578,7 @@ struct mouse_hotspot* sbbs_t::add_hotspot(struct mouse_hotspot* spot)
spot->minx = column; spot->minx = column;
if(spot->maxx < 0) if(spot->maxx < 0)
spot->maxx = cols - 1; spot->maxx = cols - 1;
#ifdef _DEBUG #if 0 //def _DEBUG
char dbg[128]; char dbg[128];
lprintf(LOG_DEBUG, "Adding mouse hot spot %ld-%ld x %ld = '%s'" 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)); ,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) ...@@ -594,7 +594,7 @@ void sbbs_t::clear_hotspots(void)
{ {
long spots = listCountNodes(&mouse_hotspots); long spots = listCountNodes(&mouse_hotspots);
if(spots) { if(spots) {
#ifdef _DEBUG #if 0 //def _DEBUG
lprintf(LOG_DEBUG, "Clearing %ld mouse hot spots", spots); lprintf(LOG_DEBUG, "Clearing %ld mouse hot spots", spots);
#endif #endif
listFreeNodes(&mouse_hotspots); listFreeNodes(&mouse_hotspots);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment