M3 bug reviewed by joe francis. simply adding 0 initiializers to variables

git-svn-id: svn://10.0.0.236/trunk@24184 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com
1999-03-15 23:08:27 +00:00
parent da1fc8ea13
commit d86bbf4046

View File

@@ -822,10 +822,10 @@ nsRangeList::TakeFocus(nsIFocusTracker *aTracker, nsIFrame *aFrame, PRInt32 aOff
}
else {
if (aFrame == frame){ //drag to same frame
PRInt32 beginoffset;
PRInt32 begincontentoffset;
PRInt32 endoffset;
PRBool selected;
PRInt32 beginoffset = 0;
PRInt32 begincontentoffset = 0;
PRInt32 endoffset = 0;
PRBool selected = PR_FALSE;
if (NS_SUCCEEDED(aFrame->GetSelected(&selected,&beginoffset,&endoffset, &begincontentoffset))){
nsSelectionStruct ss={nsSelectionStruct::SELON, 0,0, beginoffset, aOffset, 0,0, eDirNext, PR_FALSE};
aFrame->SetSelected(&ss);