commit | eab12de70efb649ab33f7971e948251895d613fe | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Apr 13 20:18:57 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Apr 13 20:18:57 2015 +0000 |
tree | 9c50497f0d82bb99eed807a84715b827a7d07a73 | |
parent | b68c4fc42617acb97dde89f501caf8558a348b51 [diff] | |
parent | 985022a6231814de2bfaf621fd0725c48bb98411 [diff] |
Merge "Remove unnecessary globals."
diff --git a/screen_ui.cpp b/screen_ui.cpp index 2aa3dab..7679335 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp
@@ -533,7 +533,7 @@ while (show_prompt) { show_prompt = false; int key = WaitKey(); - if (key == KEY_POWER) { + if (key == KEY_POWER || key == KEY_ENTER) { return; } else if (key == KEY_UP || key == KEY_VOLUMEUP) { if (offsets.size() <= 1) {