Skip to content

Commit

Permalink
Fix trace statement arguments in handleWindowChange
Browse files Browse the repository at this point in the history
Change %ld to %u to match types of mWindow.width and mWindow.height
  • Loading branch information
Stuart Eichert committed Mar 14, 2012
1 parent fc43a42 commit 0c3d44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrowserAdapter.cpp
Expand Up @@ -1167,7 +1167,7 @@ void BrowserAdapter::handlePaint(NpPalmDrawEvent* event)

void BrowserAdapter::handleWindowChange(NPWindow* window)
{
TRACEF("BrowserAdapter::handleWindowChange: %ld, %ld\n", mWindow.width, mWindow.height);
TRACEF("BrowserAdapter::handleWindowChange: %u, %u\n", mWindow.width, mWindow.height);
TRACEF("scroll %d,%d", mScrollPos.x, mScrollPos.y);

m_pageOffset.set(window->x, window->y);
Expand Down

0 comments on commit 0c3d44e

Please sign in to comment.