mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +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;
|
PRUint32 mRangeType;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct nsTextRange nsTextRange;
|
|
||||||
typedef nsTextRange* nsTextRangeArray;
|
typedef nsTextRange* nsTextRangeArray;
|
||||||
|
|
||||||
struct nsTextEventReply {
|
struct nsTextEventReply {
|
||||||
@ -440,7 +439,7 @@ struct nsTextEvent : public nsInputEvent
|
|||||||
nsIWidget *w = nsnull,
|
nsIWidget *w = nsnull,
|
||||||
PRUint8 structType = NS_TEXT_EVENT)
|
PRUint8 structType = NS_TEXT_EVENT)
|
||||||
: nsInputEvent(msg, w, structType),
|
: 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