summaryrefslogtreecommitdiffstats
path: root/sandbox/sandbox_poc/pocdll
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 17:39:46 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 17:39:46 +0000
commit72d1e597c85fbf6b45756e3c753696370c48c042 (patch)
treed01609d62295e34aa3a5721d4109f815d0fd23ad /sandbox/sandbox_poc/pocdll
parent9475d1d189c03a0626c4855b38f6004bfe7c5bb8 (diff)
downloadchromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.zip
chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.gz
chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.bz2
Slight code change to make some global variables const.
Fix >80 cols lines. Review URL: http://codereview.chromium.org/42013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/sandbox_poc/pocdll')
-rw-r--r--sandbox/sandbox_poc/pocdll/invasive.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sandbox/sandbox_poc/pocdll/invasive.cc b/sandbox/sandbox_poc/pocdll/invasive.cc
index 9118294..1bac7c1 100644
--- a/sandbox/sandbox_poc/pocdll/invasive.cc
+++ b/sandbox/sandbox_poc/pocdll/invasive.cc
@@ -172,7 +172,9 @@ BOOL CALLBACK EnumWindowCallback(HWND hwnd, LPARAM output) {
wchar_t window_title[100 + 1] = {0};
::GetWindowText(hwnd, window_title, 100);
fprintf(reinterpret_cast<FILE*>(output),
- "[GRANTED] Found window 0x%p with title %S\r\n", hwnd, window_title);
+ "[GRANTED] Found window 0x%p with title %S\r\n",
+ hwnd,
+ window_title);
::CloseWindow(hwnd);
}
@@ -192,4 +194,3 @@ void POCDLL_API TestCloseHWND(HANDLE log) {
// before returning.
::Sleep(3000);
}
-