Use \\ not \ for escaping \.

This commit is contained in:
Nicholas Marriott 2013-02-24 07:49:54 +00:00
parent f339cfd315
commit 234f6d27c1

2
grid.c
View File

@ -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;
}