poe

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

чување 09698640c4fdb81ec849489492b689f8027adf45
родитељ 2506718d674942f3f73e56dd3b8042ed51e194f8
Аутор: Страхиња Радић <sr@strahinja.org>
Датум:   Fri, 29 May 2026 09:23:26 +0000

util.h: Bugfix: define EN correctly; util.c: Use defines

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

diff --git a/util.c b/util.c @@ -14,8 +14,8 @@ #include "util.h" /* 32-bit string constants */ -const uint32_t bslash_en[] = {0x0000005c, 0x0000006e, 0}; -const uint32_t space_dot[] = {0x00000020, 0x0000002e, 0}; +const uint32_t bslash_en[] = {BSLASH, EN, 0}; +const uint32_t space_dot[] = {SPACE, DOT, 0}; extern int match_msgstr_ending; diff --git a/util.h b/util.h @@ -13,7 +13,7 @@ /* 32-bit char constants */ #define BSLASH ((uint32_t)0x0000005c) #define DOT ((uint32_t)0x0000002e) -#define EN ((uint32_t)0x0000005c) +#define EN ((uint32_t)0x0000006e) #define NINE ((uint32_t)0x00000039) #define SPACE ((uint32_t)0x00000020) #define SEMICOL ((uint32_t)0x0000003b)