Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1416)

Unified Diff: examples/media_test/keystroke.cc

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | examples/media_test/media_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/media_test/keystroke.cc
diff --git a/examples/media_test/keystroke.cc b/examples/media_test/keystroke.cc
index 9e1206340b1f7ec23db0a5bb5b3925e7d7a5e4c1..0a7893dd49ccd0d1a5cfd8fe19f7f3712f049dee 100644
--- a/examples/media_test/keystroke.cc
+++ b/examples/media_test/keystroke.cc
@@ -19,10 +19,10 @@ namespace {
bool eat_newline = false;
bool upped_already = false;
-} // namespace
+} // namespace
char Keystroke(void) {
- const char *kUp = "\033[A";
+ const char* kUp = "\033[A";
fcntl(STDIN_FILENO, F_SETFL, fcntl(0, F_GETFL) | O_NONBLOCK);
char buf[1];
« no previous file with comments | « no previous file | examples/media_test/media_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698