Skip to content

Fix gettext(NULL)-like calls

Érico Rolim requested to merge ericonr/gimp:gettext into master

On musl based systems using musl's gettext implementation, this segfaults. This behavior is not allowed, as the GNU gettext documentation specifies that calling gettext(NULL) is undefined behavior.

Applying these two commits allowed to start up the application, which previously didn't work.

Edited by Érico Rolim

Merge request reports