mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Initialize both x and y, not just y. Bug 334782, patch by Bruno 'Aqualon'
Escherl <aqualon@aquachan.de>, r+sr=roc
This commit is contained in:
parent
9241f85443
commit
9e96ce4079
@ -1274,7 +1274,7 @@ nsWindow::ShowMenuBar(PRBool aShow)
|
||||
NS_IMETHODIMP
|
||||
nsWindow::WidgetToScreen(const nsRect& aOldRect, nsRect& aNewRect)
|
||||
{
|
||||
gint x, y = 0;
|
||||
gint x = 0, y = 0;
|
||||
|
||||
if (mContainer) {
|
||||
gdk_window_get_root_origin(GTK_WIDGET(mContainer)->window,
|
||||
|
Loading…
Reference in New Issue
Block a user