mirror of https://github.com/snes9xgit/snes9x.git
Fix some string formatting.
This commit is contained in:
parent
6102664796
commit
66b0f7e9cc
19
netplay.cpp
19
netplay.cpp
|
@ -301,10 +301,9 @@ bool8 S9xNPConnect ()
|
|||
}
|
||||
else
|
||||
{
|
||||
S9xNPSetError ("\
|
||||
Unable to look up server's IP address from hostname.\n\n\
|
||||
Unknown hostname or may be your nameserver isn't set\n\
|
||||
up correctly?");
|
||||
S9xNPSetError ("Unable to look up server's IP address from hostname.\n\n\"
|
||||
"Unknown hostname or may be your nameserver isn't set\n\"
|
||||
"up correctly?");
|
||||
return (FALSE);
|
||||
}
|
||||
}
|
||||
|
@ -337,10 +336,9 @@ bool8 S9xNPConnect ()
|
|||
if (errno == ECONNREFUSED)
|
||||
#endif
|
||||
{
|
||||
S9xNPSetError ("\
|
||||
Connection to remote server socket refused:\n\n\
|
||||
Is there actually a Snes9X NetPlay server running\n\
|
||||
on the remote machine on this port?");
|
||||
S9xNPSetError ("Connection to remote server socket refused:\n\n\"
|
||||
"Is there actually a Snes9X NetPlay server running\n\"
|
||||
"on the remote machine on this port?");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -427,9 +425,8 @@ bool8 S9xNPConnect ()
|
|||
|
||||
if (data [0] != NP_VERSION)
|
||||
{
|
||||
S9xNPSetError ("\
|
||||
The Snes9X NetPlay server implements a different\n\
|
||||
version of the protocol. Disconnecting.");
|
||||
S9xNPSetError ("The Snes9X NetPlay server implements a different\n\"
|
||||
"version of the protocol. Disconnecting.");
|
||||
delete[] data;
|
||||
S9xNPDisconnect ();
|
||||
return (FALSE);
|
||||
|
|
Loading…
Reference in New Issue