>From deac40976c6104677a6ede3b13f8aa4361ecabbd Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 23 Dec 2018 23:46:38 +0900 Subject: [PATCH 10/11] Use wider tabsize for snippet in 'listing*' tabsize=6 looks good for this particular listing. tabsize=8 is too wide for 1c layout. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- CodeSamples/datastruct/hash/hash_resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeSamples/datastruct/hash/hash_resize.c b/CodeSamples/datastruct/hash/hash_resize.c index 285075e..662bb90 100644 --- a/CodeSamples/datastruct/hash/hash_resize.c +++ b/CodeSamples/datastruct/hash/hash_resize.c @@ -262,7 +262,7 @@ void hashtab_del(struct hashtab *htp_master, //\lnlbl{del:b} } //\lnlbl{del:e} //\end{snippet} -//\begin{snippet}[labelbase=ln:datastruct:hash_resize:resize,commandchars=\\\@\$] +//\begin{snippet}[labelbase=ln:datastruct:hash_resize:resize,commandchars=\\\@\$,tabsize=6] /* Resize a hash table. */ int hashtab_resize(struct hashtab *htp_master, unsigned long nbuckets, void *hash_private, -- 2.7.4