Branch: refs/heads/master Author: Thomas Martitz thomas.martitz@mailbox.org Committer: Thomas Martitz thomas.martitz@mailbox.org Date: Fri, 11 Feb 2022 13:13:00 UTC Commit: 1fc1291090437f2d6bfef4abdb897340189b03c8 https://github.com/geany/geany/commit/1fc1291090437f2d6bfef4abdb897340189b03...
Log Message: ----------- Use g_return_val_if_fail() in non-void sci_get_contents()
Modified Paths: -------------- src/sciwrappers.c
Modified: src/sciwrappers.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -749,7 +749,7 @@ gchar *sci_get_contents(ScintillaObject *sci, gint buffer_len) { gchar *text;
- g_return_if_fail(buffer_len != 0); + g_return_val_if_fail(buffer_len != 0, NULL);
if (buffer_len < 0) buffer_len = sci_get_length(sci) + 1;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).