summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-05-24 12:21:37 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-05-24 12:21:37 +0100
commit13e4927e27d352eac56c86698ab54f7e07fd0002 (patch)
tree7eeaf7d86cc0656747472b6acd2610472867517d
parent44febbcca3255cca222a1489e582d283d7bd9b04 (diff)
parent634fb8d3b569276504be317783ade54508633b10 (diff)
downloadhaskell-13e4927e27d352eac56c86698ab54f7e07fd0002.tar.gz
Merge branch 'master' of http://darcs.haskell.org/ghc
-rw-r--r--utils/hp2ps/Key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/hp2ps/Key.c b/utils/hp2ps/Key.c
index eda839597a..22ad106194 100644
--- a/utils/hp2ps/Key.c
+++ b/utils/hp2ps/Key.c
@@ -50,6 +50,7 @@ escape(char *result, const char *name)
}
*result++ = *name++;
}
+ *result = '\0';
}
static void