Skip to content
Snippets Groups Projects
Commit 8dd98cfd 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 5a588260
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2528 passed
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment