Add "don't show again" to hard reset and exit confirmations, further addressing #948

This commit is contained in:
RichardG867
2020-07-27 19:55:25 -03:00
parent 6276bb67ee
commit 2825244482
5 changed files with 65 additions and 19 deletions

View File

@@ -144,6 +144,7 @@ ui_msgbox_ex(int flags, void *header, void *message, void *btn1, void *btn2, voi
else if (ret == IDCANCEL) ret = -1;
else ret = 0;
/* 10 is added to the return value if "don't show again" is checked. */
if (checked) ret += 10;
return(ret);