Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 21 Nov 2015 18:03:12 UTC Commit: 1cc171aa7c38a83b606576919294d5d1a5c0cbbc https://github.com/geany/geany/commit/1cc171aa7c38a83b606576919294d5d1a5c0cb...
Log Message: ----------- Drop use of unneeded deprecated GLib API
Modified Paths: -------------- src/encodings.c
Modified: src/encodings.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1009,7 +1009,7 @@ handle_bom(BufferData *buffer) /* use filedata->len here because the contents are already converted into UTF-8 */ buffer->len -= bom_len; /* overwrite the BOM with the remainder of the file contents, plus the NULL terminator. */ - g_memmove(buffer->data, buffer->data + bom_len, buffer->len + 1); + memmove(buffer->data, buffer->data + bom_len, buffer->len + 1); buffer->data = g_realloc(buffer->data, buffer->len + 1); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).