From 530d717a67cc3acab10270dca700db328aa12891 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 21 Dec 2014 12:12:59 -0300 Subject: [PATCH] -fix get_as_text (#1022 ) --- core/bind/core_bind.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index cc07a48368..54fa4214a4 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1121,6 +1121,7 @@ String _File::get_as_text() const { text+=l+"\n"; l = get_line(); } + text+=l; return text;