From 6e277d37190f0f9ac1fdcd38d94ffcce69f70ba7 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 24 Oct 2011 17:24:05 +0000 Subject: [PATCH] Fix possible glitch with zero users. --- src/sbbs3/userlist/SBBS_User_ListMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/userlist/SBBS_User_ListMain.cpp b/src/sbbs3/userlist/SBBS_User_ListMain.cpp index e746e8698a..3bcc24eb95 100644 --- a/src/sbbs3/userlist/SBBS_User_ListMain.cpp +++ b/src/sbbs3/userlist/SBBS_User_ListMain.cpp @@ -65,7 +65,7 @@ void SBBS_User_ListFrame::fillUserList(void) int totalusers=lastuser(&App->cfg); int i; user_t user; - int item; + int item=0; wxString buf; char datebuf[9]; long topitem=UserList->GetTopItem(); -- GitLab