Index: src/bin/psql/help.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/bin/psql/help.c,v
retrieving revision 1.90
diff -c -c -r1.90 help.c
*** src/bin/psql/help.c	15 Jul 2004 03:56:06 -0000	1.90
--- src/bin/psql/help.c	7 Aug 2004 03:30:48 -0000
***************
*** 310,318 ****
  		int			nl_count = 0;
  		char		*ch;
  
! 		/* don't care about trailing spaces */
  		len = strlen(topic);
! 		while (topic[len - 1] == ' ')
  			len--;
  
  		/* Count newlines for pager */
--- 310,318 ----
  		int			nl_count = 0;
  		char		*ch;
  
! 		/* don't care about trailing spaces or semicolons */
  		len = strlen(topic);
! 		while (topic[len - 1] == ' ' || topic[len - 1] == ';')
  			len--;
  
  		/* Count newlines for pager */
