Closed Bug 443296 Opened 16 years ago Closed 16 years ago

morkRowCellCursor::NextCell skips first cell

Categories

(MailNews Core :: Database, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.1a1

People

(Reporter: jcranmer, Assigned: jcranmer)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch to fix the problem (obsolete) — Splinter Review
Small change for a small problem.

In short: NextCell starts by incrementing the current column position, which it does if the column is >= 0. It then grabs the cell of the incremented position.

The column position is initialized to 0, which means that the first call increments to 1, grabbing the second cell.
Attachment #327890 - Flags: superreview?(bienvenu)
Attachment #327890 - Flags: review?(bienvenu)
Attachment #327890 - Attachment is obsolete: true
Attachment #327895 - Flags: superreview?(bienvenu)
Attachment #327895 - Flags: review?(bienvenu)
Attachment #327890 - Flags: superreview?(bienvenu)
Attachment #327890 - Flags: review?(bienvenu)
Comment on attachment 327895 [details] [diff] [review]
Real fix, suggested via IRC

thx, Joshua.
Attachment #327895 - Flags: superreview?(bienvenu)
Attachment #327895 - Flags: superreview+
Attachment #327895 - Flags: review?(bienvenu)
Attachment #327895 - Flags: review+
Checking in db/mork/src/morkRow.cpp;
/cvsroot/mozilla/db/mork/src/morkRow.cpp,v  <--  morkRow.cpp
new revision: 1.20; previous revision: 1.19
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
Product: Core → MailNews Core
Checked into mozilla-central: revision 6be6b3fe30c5.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: