Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 12 Dec 2023 23:36:00 UTC Commit: c8365fd881b0e0880be14f8a850a1f3c179f3966 https://github.com/geany/geany/commit/c8365fd881b0e0880be14f8a850a1f3c179f39...
Log Message: ----------- Don't try knowingly unsupported encodings
Modified Paths: -------------- src/encodings.c
Modified: src/encodings.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -770,7 +770,7 @@ static gchar *encodings_convert_to_utf8_with_suggestion(const gchar *buffer, gss else continue; } - else if (i >= 0) + else if (i >= 0 && encodings[i].supported) charset = encodings[i].charset; else /* in this case we have i == -2, continue to increase i and go ahead */ continue;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).