* mu-cmd-server.c: fix off-by-one in number of matches to display

This commit is contained in:
djcb
2012-04-07 19:07:48 +03:00
parent 1b65acdec0
commit 9a59e3d8a1

View File

@ -322,7 +322,7 @@ output_found_sexps (MuMsgIter *iter, int maxnum)
else else
max = G_MAXUINT32; max = G_MAXUINT32;
while (!mu_msg_iter_is_done (iter) && u <= max && while (!mu_msg_iter_is_done (iter) && u < max &&
!MU_CAUGHT_SIGNAL) { !MU_CAUGHT_SIGNAL) {
MuMsg *msg; MuMsg *msg;