poe

Уређивач .po фајлова
git clone https://git.sr.ht/~strahinja/poe
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 56f1a164f6e6bed8a0c91f5309db9af25212cc24
родитељ 9420922886572b951cfe81016e5eb5b347fc70e3
Аутор: Страхиња Радић <sr@strahinja.org>
Датум:   Wed, 29 Jul 2026 09:00:18 +0000

po.c(parse_po_line): Slightly correct the control flow for Plural-Forms

Diffstat:
Mpo.c | 5++---
измењених датотека: 1, додавања: 2(+), брисања: 3(-)

diff --git a/po.c b/po.c @@ -626,10 +626,9 @@ parse_po_line(const char* line, struct DrawState* dstate, goto parse_po_cleanup; } } - else + else if (starts_with(token, "Plural-Forms: ")) { - if (starts_with(token, "Plural-Forms: ") - && !strstr(token, "\\n")) + if (!strstr(token, "\\n")) *pstate |= PS_PLURAL_FORMS; if (set_plural_forms(dstate, *current_entry, token + strlen("Plural-Forms: "), 0))