summaryrefslogtreecommitdiffstats
path: root/core/ustring.cpp
diff options
context:
space:
mode:
authorokamstudio <juan@okamstudio.com>2014-02-20 13:06:52 -0200
committerokamstudio <juan@okamstudio.com>2014-02-20 13:06:52 -0200
commit4d5ec64a9d9c29c24632a29cdbc0c5aed50fa36a (patch)
tree8ef0509f8f5c8aee9daec49f7d4b6c164ec089ce /core/ustring.cpp
parent51c55b237b795fa4c085841dbf935c0bd103d5c7 (diff)
parent339f332892fd09bba7218846a141c250ff4f429e (diff)
downloadredot-engine-4d5ec64a9d9c29c24632a29cdbc0c5aed50fa36a.tar.gz
Merge pull request #110 from vinzenz/108-fix
Fix for Issue #108
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;
}