Skip to content
Snippets Groups Projects
Commit e58e7411 authored by deuce's avatar deuce
Browse files

Update title string each time through the menu loop.

Fixed but I think DigitalMan reported where the count of entries isn't
updated after and add/delete until you change to the settings menu and back.
parent 6c30acdf
Branches
Tags
No related merge requests found
/* Copyright (C), 2007 by Stephen Hurd */
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -1752,13 +1753,13 @@ struct bbslist *show_bbslist(char *current, int connected)
uifc.list(WIN_T2B|WIN_RHT|WIN_EXTKEYS|WIN_DYN|WIN_ACT|WIN_INACT
,0,0,0,&sopt,&sbar,"SyncTERM Settings",connected?connected_settings_menu:settings_menu);
for(;;) {
sprintf(list_title, "Directory (%d items)", listcount);
if (quitting) {
free(list);
return NULL;
}
if (!at_settings) {
for(;!at_settings;) {
sprintf(list_title, "Directory (%d items)", listcount);
if (quitting) {
free(list);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment