summaryrefslogtreecommitdiff
path: root/core/ustring.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-20 23:02:47 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-20 23:02:47 -0300
commitb62ec387f340220e11902daab8484fcb85d28cda (patch)
treefd62ea164cd1cb5a656df529f554ed8d4bf3301b /core/ustring.cpp
parentf2a068984c36de1f77940ae9d5dc0d017b8e642d (diff)
parent287a6347e66e530350f09f3d66b3ef8e7e868a0b (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'core/ustring.cpp')
-rw-r--r--core/ustring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp
index 336d8eea0a..b0f06c6ab6 100644
--- a/core/ustring.cpp
+++ b/core/ustring.cpp
@@ -2518,7 +2518,7 @@ bool String::begins_with(const char* p_string) const {
}
- return true;
+ return *p_string == 0;
}