fix bustage of bug 385437 event object for EVENT_TEXT_CARET_MOVED.

r=surkov.alexander
This commit is contained in:
Evan.Yan@Sun.COM 2007-06-24 19:33:18 -07:00
parent ddcb8c5b18
commit db6a0cec80

View File

@ -1170,11 +1170,11 @@ nsAccessibleWrap::FireAccessibleEvent(nsIAccessibleEvent *aEvent)
PRInt32 caretOffset = -1;
caretMoveEvent->GetCaretOffset(&caretOffset);
MAI_LOG_DEBUG(("\n\nCaret postion: %d", *(gint *)caretOffset));
MAI_LOG_DEBUG(("\n\nCaret postion: %d", caretOffset));
g_signal_emit_by_name(atkObj,
"text_caret_moved",
// Curent caret position
*(gint *)caretOffset);
caretOffset);
} break;
case nsIAccessibleEvent::EVENT_TABLE_MODEL_CHANGED: