From 234f6d27c17de09e0dcdb3eb224ab0821ab17993 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 24 Feb 2013 07:49:54 +0000 Subject: [PATCH] Use \\ not \ for escaping \. --- grid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid.c b/grid.c index d4164142..1624b2d0 100644 --- a/grid.c +++ b/grid.c @@ -621,7 +621,7 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx, data = ud.data; size = ud.size; if (escape_c0 && size == 1 && *data == '\\') { - data = "\\"; + data = "\\\\"; size = 2; }