Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support

changes per bryner for r=bryner sr=roc


git-svn-id: svn://10.0.0.236/trunk@155205 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2004-04-20 05:14:40 +00:00
parent 7fcbbd606d
commit 6a6e05cfc5

View File

@@ -2031,8 +2031,8 @@ nsEventStateManager::PostHandleEvent(nsIPresContext* aPresContext,
PRInt32 numLines = 0;
PRBool useSysNumLines;
mPrefBranch->GetIntPref(PromiseFlatCString(actionKey).get(), &action);
mPrefBranch->GetBoolPref(PromiseFlatCString(sysNumLinesKey).get(),
mPrefBranch->GetIntPref(actionKey.get(), &action);
mPrefBranch->GetBoolPref(sysNumLinesKey.get(),
&useSysNumLines);
if (useSysNumLines) {
numLines = msEvent->delta;
@@ -2044,7 +2044,7 @@ nsEventStateManager::PostHandleEvent(nsIPresContext* aPresContext,
nsCAutoString numLinesKey(baseKey);
numLinesKey.Append(numlinesslot);
mPrefBranch->GetIntPref(PromiseFlatCString(numLinesKey).get(),
mPrefBranch->GetIntPref(numLinesKey.get(),
&numLines);
}