From 85ede9f027ce1acb5f0640c01ac0ca755feee5a1 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 24 Sep 2014 17:43:41 +0900 Subject: msgfilter: Don't use non-portable character escape * gettext-tools/src/filter-quote.c (BOLD_START, BOLD_END): Don't use non-portable character escape "\e". --- gettext-tools/src/ChangeLog | 5 +++++ gettext-tools/src/filter-quote.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gettext-tools') diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index a228a5d..bd490dd 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2014-09-24 Daiki Ueno + + * filter-quote.c (BOLD_START, BOLD_END): Don't use non-portable + character escape "\e". + 2014-08-28 Jonas 'Sortie' Termansen (tiny change) * msginit.c: Include . diff --git a/gettext-tools/src/filter-quote.c b/gettext-tools/src/filter-quote.c index 5ca233a..2e9b7dc 100644 --- a/gettext-tools/src/filter-quote.c +++ b/gettext-tools/src/filter-quote.c @@ -27,8 +27,8 @@ #include #include "xalloc.h" -#define BOLD_START "\e[1m" -#define BOLD_END "\e[0m" +#define BOLD_START "\x1b[1m" +#define BOLD_END "\x1b[0m" /* This is a direct translation of po/quot.sed and po/boldquot.sed. */ static void -- cgit v1.1