Bug 1360321 - 5. Fix warnings in widget; r=snorp
* Fix warnings using putenv with string literals. * Fix a pritnf format warning. MozReview-Commit-ID: B53sUjGTg7z
This commit is contained in:
@@ -1432,8 +1432,8 @@ nsWindow::LogWindow(nsWindow *win, int index, int indent)
|
||||
#if defined(DEBUG) || defined(FORCE_ALOG)
|
||||
char spaces[] = " ";
|
||||
spaces[indent < 20 ? indent : 20] = 0;
|
||||
ALOG("%s [% 2d] 0x%08x [parent 0x%08x] [% 3d,% 3dx% 3d,% 3d] vis %d type %d",
|
||||
spaces, index, (intptr_t)win, (intptr_t)win->mParent,
|
||||
ALOG("%s [% 2d] 0x%p [parent 0x%p] [% 3d,% 3dx% 3d,% 3d] vis %d type %d",
|
||||
spaces, index, win, win->mParent,
|
||||
win->mBounds.x, win->mBounds.y,
|
||||
win->mBounds.width, win->mBounds.height,
|
||||
win->mIsVisible, win->mWindowType);
|
||||
|
||||
Reference in New Issue
Block a user