Changeset 4574

Show
Ignore:
Timestamp:
08/18/06 09:52:14 (2 years ago)
Author:
emostar
Message:

If we have no users, we crash when printing the user list.
So, just show a message that we have no users instead.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/console/src/console_print.cpp

    r4526 r4574  
    392392    m_lScrollUsers.push_back(s); 
    393393    ulist[i++] = copyChar((*it)->szLine); 
     394  } 
     395 
     396  // No users, so let's tell the user that 
     397  if (i == 0) 
     398  { 
     399    ulist[i++] = "No users found"; 
    394400  } 
    395401