It's probably nicer to put c:\\windows first in the path; post-NT, server versions of windows use that instead of C:\\winnt, so we save a "syscall" by checking it first.
--Wez. ----- Original Message ----- From: "Derick Rethans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 12, 2004 10:42 PM Subject: [PHP-CVS] cvs: php-src /ext/gd/libgd gd.h > derick Mon Apr 12 17:42:43 2004 EDT > > Modified files: > /php-src/ext/gd/libgd gd.h > Log: > - Add fontpath for win98/XP (Patch by Friedhelm Betz) > > > http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gd.h?r1=1.21&r2=1.22&ty=u > Index: php-src/ext/gd/libgd/gd.h > diff -u php-src/ext/gd/libgd/gd.h:1.21 php-src/ext/gd/libgd/gd.h:1.22 > --- php-src/ext/gd/libgd/gd.h:1.21 Mon Mar 29 13:20:33 2004 > +++ php-src/ext/gd/libgd/gd.h Mon Apr 12 17:42:42 2004 > @@ -11,7 +11,7 @@ > #define PATHSEPARATOR ":" > #else > /* default fontpath for windows systems */ > -#define DEFAULT_FONTPATH "c:\\winnt\\fonts;." > +#define DEFAULT_FONTPATH "c:\\winnt\\fonts;c:\\windows\\fonts;." > #define PATHSEPARATOR ";" > #endif > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
