From d90b2724114cb6e9696e7648a20acf3d71c4a14b Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 24 Aug 2014 00:17:15 +0000 Subject: Fix comment git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2251 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/colorname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/colorname.c') diff --git a/lib/colorname.c b/lib/colorname.c index 5c371e84..454cf195 100644 --- a/lib/colorname.c +++ b/lib/colorname.c @@ -87,8 +87,8 @@ pm_openColornameFile(const char * const fileName, const int must_open) { Open the colorname dictionary file. Its file name is 'fileName', unless 'fileName' is NULL. In that case, its file name is the value of the environment variable whose name is RGB_ENV (e.g. "RGBDEF"). Except - if that environment variable is not set, it is RGB_DB1, RGB_DB2, - or RGB_DB3 (e.g. "/usr/lib/X11/rgb.txt"), whichever exists. + if that environment variable is not set, it is the first file found, + if any, in the search path RGB_DB_PATH. 'must_open' is a logical: we must get the file open or die. If 'must_open' is true and we can't open the file (e.g. it doesn't -- cgit 1.4.1