mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
Fix for NSHost argument specifying local host.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
04a7c6ae90
commit
61ab92f40f
2 changed files with 7 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
|||
2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/gpbs.m: If given -NSHost specification for the current host,
|
||||
ignore it and use the standard name.
|
||||
|
||||
2002-04-18 Ludovic Marcotte <ludovic@Sophos.ca>
|
||||
|
||||
* Source/NSOutlineView.m and Headers/gnustep/gui/NSOutlineView.h:
|
||||
Fixed some issues with the delegate methods.
|
||||
|
||||
|
||||
Thu Apr 18 11:14:22 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Headers/gnustep/gui/AppKitDefines.h (APPKIT_DECLARE): Updated
|
||||
|
|
|
@ -1130,7 +1130,8 @@ main(int argc, char** argv, char **env)
|
|||
object: (id)conn];
|
||||
|
||||
hostname = [[NSUserDefaults standardUserDefaults] stringForKey: @"NSHost"];
|
||||
if ([hostname length] == 0)
|
||||
if ([hostname length] == 0
|
||||
|| [[NSHost hostWithName: hostname] isEqual: [NSHost currentHost]] == YES)
|
||||
{
|
||||
if ([conn registerName: PBSNAME] == NO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue