diff options
author | Max Kellermann <max@musicpd.org> | 2017-07-05 17:15:58 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-07-05 17:15:58 +0200 |
commit | dad7d7e79844c12ecfe4714bb5a493fd09bf4a09 (patch) | |
tree | 27373326ef6ecbc9f34e0c379facca9f149e3726 /src/java | |
parent | 4b94ae804097950e0334efb3af3ed2e83ffe55c5 (diff) |
util/TruncateString: rename CopyString() to CopyTruncateString()
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/String.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/String.cxx b/src/java/String.cxx index aff63fcd3..ec6d7c95c 100644 --- a/src/java/String.cxx +++ b/src/java/String.cxx @@ -38,7 +38,7 @@ Java::String::CopyTo(JNIEnv *env, jstring value, if (p == nullptr) return nullptr; - char *result = CopyString(buffer, p, max_size); + char *result = CopyTruncateString(buffer, p, max_size); env->ReleaseStringUTFChars(value, p); return result; } |