On Fri, Aug 06, 2021 at 11:44:21AM +0900, Akira Yokosawa wrote: > This code snippet already has the special tabsize of 6 for 1c and 2c builds. > However, it is too wide for ebook-size builds. > As a workaround, add "breaklines=true" in the option list and permit folding > of long lines. > > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> > Cc: Balbir Singh <bsingharora@xxxxxxxxx> Queued and pushed, thank you! Thanx, Paul > --- > 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 6e450e3c..d084264f 100644 > --- a/CodeSamples/datastruct/hash/hash_resize.c > +++ b/CodeSamples/datastruct/hash/hash_resize.c > @@ -276,7 +276,7 @@ void hashtab_del(struct ht_elem *htep, //\lnlbl{del:b} > } //\lnlbl{del:e} > //\end{snippet} > > -//\begin{snippet}[labelbase=ln:datastruct:hash_resize:resize,commandchars=\\\@\$,tabsize=6] > +//\begin{snippet}[labelbase=ln:datastruct:hash_resize:resize,commandchars=\\\@\$,tabsize=6,breaklines=true] > /* Resize a hash table. */ > int hashtab_resize(struct hashtab *htp_master, > unsigned long nbuckets, > -- > 2.17.1 > >