mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
fix uninitialized rangeArray. r+sr=dbaron
This commit is contained in:
parent
8093efd14c
commit
5de89631bb
@ -419,7 +419,6 @@ struct nsTextRange {
|
||||
PRUint32 mRangeType;
|
||||
};
|
||||
|
||||
typedef struct nsTextRange nsTextRange;
|
||||
typedef nsTextRange* nsTextRangeArray;
|
||||
|
||||
struct nsTextEventReply {
|
||||
@ -440,7 +439,7 @@ struct nsTextEvent : public nsInputEvent
|
||||
nsIWidget *w = nsnull,
|
||||
PRUint8 structType = NS_TEXT_EVENT)
|
||||
: nsInputEvent(msg, w, structType),
|
||||
theText(nsnull), rangeCount(0), isChar(PR_FALSE)
|
||||
theText(nsnull), rangeCount(0), rangeArray(nsnull), isChar(PR_FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user