aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2016-05-20 21:56:28 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2016-05-20 21:56:28 +0200
commit4c63e4c28c80a7b1528d67793585b499a4008be8 (patch)
treeb16d75e98844da01400441039a3a3ea0f1e17045
parent166b606b2504297f425943b855301ae97f689d7c (diff)
downloadcolorize-4c63e4c28c80a7b1528d67793585b499a4008be8.tar.gz
colorize-4c63e4c28c80a7b1528d67793585b499a4008be8.tar.bz2
Const pointer
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 938bdd6..5f64ce7 100644
--- a/colorize.c
+++ b/colorize.c
@@ -1075,7 +1075,7 @@ gather_esc_offsets (const char *p, const char **start, const char **end)
if (*p == 27 && *(p + 1) == '[')
{
bool valid = false;
- const char *begin = p;
+ const char *const begin = p;
p += 2;
if (clean_all)
valid = validate_esc_clean_all (&p);