Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 7c57cd21 authored by rswindell's avatar rswindell

Mouse hotspots for readings msgs/mail prompts (just to move forward, CR).

parent 9d2e97c7
......@@ -312,7 +312,12 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
strcat(str,"E"); // edit msg
if(which != MAIL_SENT)
strcat(str,"V"); // View SPAM toggle
struct mouse_hotspot* hotspot_added = NULL;
if(mouse_hotspots.first == NULL)
hotspot_added = add_hotspot('\r');
l=getkeys(str,smb.msgs);
if(hotspot_added)
clear_hotspots();
if(l&0x80000000L) {
if(l==-1) /* ctrl-c */
break;
......
......@@ -790,7 +790,12 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
if(sub_op(subnum))
strcat(str,"O");
do_find=true;
struct mouse_hotspot* hotspot_added = NULL;
if(mouse_hotspots.first == NULL)
hotspot_added = add_hotspot('\r');
l=getkeys(str,smb.msgs);
if(hotspot_added)
clear_hotspots();
if(l&0x80000000L) {
if((long)l==-1) { /* ctrl-c */
quit=1;
......
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