~strahinja/poe

1f716ca719f0d9331ba04a6842456f33dadad82e — Страхиња Радић 9 months ago c40777e v1.4.5
po.c: Check msgstr != NULL

Signed-off-by: Страхиња Радић <contact@strahinja.org>
1 files changed, 1 insertions(+), 1 deletions(-)

M po.c
M po.c => po.c +1 -1
@@ 484,7 484,7 @@ load_file(struct DrawState* dstate, long* lineno, long* col)
	current = dstate->entries;
	while (current != dstate->entries + dstate->real_msgid_count)
	{
		if (!current->obsolete)
		if (!current->obsolete && current->msgid && current->msgstr)
			update_warning(current->msgid, *current->msgstr,
				&current->warning);
		current++;