projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git]
/
src
/
keycode.cpp
diff --git
a/src/keycode.cpp
b/src/keycode.cpp
index 66708fb19575110e04986d65f3efc865fd147916..344ac7c837abc85a285c411e44c2e94e0f5f6811 100644
(file)
--- a/
src/keycode.cpp
+++ b/
src/keycode.cpp
@@
-278,12
+278,6
@@
struct table_key lookup_keychar(wchar_t Char)
throw UnknownKeycode(os.str().c_str());
}
-KeyPress::KeyPress() :
- Key(irr::KEY_KEY_CODES_COUNT),
- Char(L'\0'),
- m_name("")
-{}
-
KeyPress::KeyPress(const char *name)
{
if (strlen(name) == 0) {