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

Fix signed/unsigned int compare warning in MSVC

Fix a typo in help text.
parent 5c3b7af1
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ void remove_sub(scfg_t* cfg, int subnum, bool cut) ...@@ -96,7 +96,7 @@ void remove_sub(scfg_t* cfg, int subnum, bool cut)
cut_qhub_sub = NULL; cut_qhub_sub = NULL;
// Remove the sub-board from any QWKnet hub sub-boards // Remove the sub-board from any QWKnet hub sub-boards
for (int q = 0; q < cfg->total_qhubs; q++) { for (int q = 0; q < cfg->total_qhubs; q++) {
for (unsigned s = 0; s < cfg->qhub[q]->subs; s++) { for (int s = 0; s < cfg->qhub[q]->subs; s++) {
if (cfg->qhub[q]->sub[s] == sub) { if (cfg->qhub[q]->sub[s] == sub) {
if(cut && cut_qhub_sub == NULL) if(cut && cut_qhub_sub == NULL)
cut_qhub_sub = &cfg->qhub[q]->sub[s]; cut_qhub_sub = &cfg->qhub[q]->sub[s];
...@@ -1113,7 +1113,7 @@ void sub_cfg(int grpnum) ...@@ -1113,7 +1113,7 @@ void sub_cfg(int grpnum)
"~#Inverse Text#~\n" "~#Inverse Text#~\n"
"_Underlined Text_\n" "_Underlined Text_\n"
"\n" "\n"
"Markup character cannot be combined.\n" "Markup characters cannot be combined.\n"
; ;
strcpy(opt[0],"Yes"); strcpy(opt[0],"Yes");
strcpy(opt[1],"Yes and Hide the Markup Characters"); strcpy(opt[1],"Yes and Hide the Markup Characters");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment