diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-25 10:01:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-25 10:01:44 +0000 |
commit | 74b2a63d6d06f1a932452c3e09b862492cc80d0b (patch) | |
tree | efdbae6af8db344a8c1f0e46353182a6a2b92fde | |
parent | 8fce0b424387999fdfbec6d7540abefce06ceee4 (diff) |
Use \\ not \ for escaping \.
-rw-r--r-- | usr.bin/tmux/grid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index 2c70c0e3b64..8842206f7f9 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.26 2013/03/22 15:56:11 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.27 2013/03/25 10:01:43 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; } |