Fix some string formatting.

This commit is contained in:
Lioncash 2013-11-15 08:39:41 -05:00
parent 6102664796
commit 66b0f7e9cc
1 changed files with 8 additions and 11 deletions

View File

@ -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);