From e4bf5f104ed0725caabcb1ad22743f9293b6495a Mon Sep 17 00:00:00 2001 From: otoburb Date: Thu, 11 Nov 2010 17:42:10 +0000 Subject: [PATCH] basis/help/apropos: Trimming whitespace before and after search query. Allows accidental/reflex whitespace to be corrected so results can still be returned. --- basis/help/apropos/apropos.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/help/apropos/apropos.factor b/basis/help/apropos/apropos.factor index 933761871d..010c797a55 100644 --- a/basis/help/apropos/apropos.factor +++ b/basis/help/apropos/apropos.factor @@ -71,4 +71,4 @@ M: apropos >link ; INSTANCE: apropos topic : apropos ( str -- ) - print-topic nl ; + [ blank? ] trim print-topic nl ;