~luke-jr/tr2norigins/armagetron-0.2.8-t2o-accesslvls

« back to all changes in this revision

Viewing changes to src/network/nKrawall.cpp

  • Committer: Manuel Moos
  • Date: 2009-02-22 10:58:24 UTC
  • Revision ID: z-man@users.sf.net-20090222105824-z5lqnfjiz7xf0xpj
Correctly encode non-ascii-characters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
    std::istringstream in( static_cast< char const * >( original ) );
336
336
    std::ostringstream out;
337
337
 
338
 
    char c = in.get();
 
338
    unsigned char c = in.get();
339
339
    while ( !in.eof() )
340
340
    {
341
341
        if ( c == ' ' )