From 6eafd8b1377200689a9d6358c596cdf2994421bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 11 Mar 2015 23:30:41 -0700 Subject: [PATCH] Cleanup. --- examples/common/entry/entry.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/common/entry/entry.cpp b/examples/common/entry/entry.cpp index f1cb5dcb..7ef78531 100644 --- a/examples/common/entry/entry.cpp +++ b/examples/common/entry/entry.cpp @@ -61,12 +61,12 @@ namespace entry switch (_key) { case Key::Esc: return 0x1b; - case Key::Return: return 0x0d; - case Key::Tab: return 0x09; - case Key::Space: return (char)0xa0; + case Key::Return: return '\n'; + case Key::Tab: return '\t'; + case Key::Space: return ' '; case Key::Backspace: return 0x08; - case Key::Plus: return 0x2b; - case Key::Minus: return 0x2d; + case Key::Plus: return '+'; + case Key::Minus: return '-'; default: break; }