scrolltext3.c: small optimization