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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user