From 468bc7f34691b595159ea61654f67ccfd556cd9f Mon Sep 17 00:00:00 2001 From: "nick.kreeger%park.edu" Date: Mon, 21 Aug 2006 23:13:37 +0000 Subject: [PATCH] Fixing white space issues in BrowserWindowController (bug 349447). Adjustment by froodian mContextMenuNode) return @""; - + nsCOMPtr ownerDoc; mDataOwner->mContextMenuNode->GetOwnerDocument(getter_AddRefs(ownerDoc)); @@ -2718,7 +2718,7 @@ enum BWCOpenDest { nsCOMPtr location; nsDoc->GetLocation(getter_AddRefs(location)); if (!location) return @""; - + nsAutoString urlStr; location->GetHref(urlStr); return [NSString stringWith_nsAString:urlStr]; @@ -3182,7 +3182,7 @@ enum BWCOpenDest { if (aLoadInBG) { BrowserWindow* browserWin = (BrowserWindow*)[browser window]; - [browserWin setSuppressMakeKeyFront:YES]; // prevent gecko focus bringing the window to the front + [browserWin setSuppressMakeKeyFront:YES]; // prevent gecko focus bringing the window to the front [browserWin orderWindow: NSWindowBelow relativeTo: [[self window] windowNumber]]; [browserWin setSuppressMakeKeyFront:NO]; } @@ -3279,8 +3279,8 @@ enum BWCOpenDest { - (void)openURLArray:(NSArray*)urlArray tabOpenPolicy:(ETabOpenPolicy)tabPolicy allowPopups:(BOOL)inAllowPopups { - int curNumTabs = [mTabBrowser numberOfTabViewItems]; - int numItems = (int)[urlArray count]; + int curNumTabs = [mTabBrowser numberOfTabViewItems]; + int numItems = (int)[urlArray count]; int selectedTabIndex = [[mTabBrowser tabViewItems] indexOfObject:[mTabBrowser selectedTabViewItem]]; BrowserTabViewItem* tabViewToSelect = nil; @@ -3592,7 +3592,7 @@ enum BWCOpenDest { menuPrototype = mPageMenu; [mBackItem setEnabled: [[mBrowserView getBrowserView] canGoBack]]; [mForwardItem setEnabled: [[mBrowserView getBrowserView] canGoForward]]; - [mCopyItem setEnabled:hasSelection]; + [mCopyItem setEnabled:hasSelection]; } if (mDataOwner->mContextMenuNode) {