Re[2]: [PHP-GTK-DEV] reduce compiler warnings (win32)

From: Date: Sun, 11 Sep 2005 08:53:30 +0000
Subject: Re[2]: [PHP-GTK-DEV] reduce compiler warnings (win32)
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1622@lists.php.net to get a copy of this message
Hi, Sunday, September 11, 2005, 6:14:40 PM, you wrote: S> S'funny, I was doing that last night too (and went the new-class-for-floats S> route). S> We need to test both options - both get rid of compiler warnings. Yours is S> prettier. S> The other two are code-related - need to check them with Andrei. Can you also check this change needed to compile using vc6 RCS file: /repository/php-gtk/win32/confutils.js,v retrieving revision 1.5 diff -u -w -b -r1.5 confutils.js --- confutils.js 8 Sep 2005 03:19:44 -0000 1.5 +++ confutils.js 11 Sep 2005 08:50:18 -0000 @@ -392,7 +392,9 @@ if (place == true) { place = exe; } else if (place != false) { + if(place.substr(-1) != "\\") place = place+"\\" place = place + exe; + if(place.indexOf(' ')) place = '"'+place+'"'; } if (place) { -- regards, Tom

« previous php.gtk.dev (#1622) next »