--- deliantra/server/common/player.C 2009/06/26 16:21:57 1.51 +++ deliantra/server/common/player.C 2009/09/17 00:07:04 1.53 @@ -339,6 +339,9 @@ case '\r': buf << '\n'; + /* \r\n+ becomes one or more newlines */ + while (*cfpod == '\n') + buf << *cfpod++; break; case '\n': @@ -408,17 +411,17 @@ nest.clear (); if (pl->hintmode == 1) - buf << "[Hint suppressed, see hintmode]"; + buf << "[Hint available]"; else - while (*cfpod == ' ') // eat trailing whitespace + while (*cfpod <= ' '&& *cfpod) // eat trailing whitespace ++cfpod; goto skip; } else { - pfx = "["; - sfx = " (Use hintmode to suppress hints)]"; + pfx = "[Hint: "; + sfx = "]"; } } break;