* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
if (winM <= 0) { //[There is no scope of adjustment
return;
}
- //[All the new messages can be accomodated w/o scrolling curr selection
+ //[All the new messages can be accommodated w/o scrolling curr selection
if (numNew <= winM) {
XmListSetBottomPos(list, cItmCnt);
return;
}
- //[All the new messages cannot be accomodated, but we will do best fit
+ //[All the new messages cannot be accommodated, but we will do best fit
else {
int numNotShow = numNew - winM;
XmListSetBottomPos(list, cItmCnt - numNotShow);
nmsgs = _msgs->length();
newList = new XmString[nmsgs];
- memset (newList, '0', nmsgs * sizeof (XmString *));
+ memset (newList, 0, nmsgs * sizeof (XmString *));
// Loop through _msgs and create new strings to display in the
// scrolling list. This is inefficient and dominates the time
fprintf(stderr,
"dtmail: getMessageSummary: Couldn't get summary for msg # %d\n", m);
- if ((msg == NULL) || (mbox == NULL))
+ if (msg == NULL)
{
// Error
;