summaryrefslogtreecommitdiffstats
path: root/scene/gui/line_edit.cpp
diff options
context:
space:
mode:
authorehriche <eehrich@googlemail.com>2015-05-06 00:56:59 +0200
committerehriche <eehrich@googlemail.com>2015-05-06 01:22:31 +0200
commit897a1aade5332753d9fda950d80495798cdc85b4 (patch)
tree53f4cab913ef39a1563704751df07d43ebfef42f /scene/gui/line_edit.cpp
parentfe13c728fd44a1271f218685fc73ed4ba8d3ce7a (diff)
downloadredot-engine-897a1aade5332753d9fda950d80495798cdc85b4.tar.gz
optional formal changes
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r--scene/gui/line_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index 14aa3da85f..fec9e401f1 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -272,7 +272,7 @@ void LineEdit::_input_event(InputEvent p_event) {
if (editable) {
selection_delete();
- CharType ucodestr[2]={k.unicode,0};
+ CharType ucodestr[2]={(CharType)k.unicode,0};
append_at_cursor(ucodestr);
emit_signal("text_changed",text);
_change_notify("text");