~z-man/armagetronad/0.2.8-armagetronad-sty+ct+lua

« back to all changes in this revision

Viewing changes to src/tools/tString.cpp

Merge with mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
1286
1286
 
1287
1287
        // leave ASCII characters as they are
1288
1288
        // for (i=127; i>=32; --i)
1289
 
        // no, leave all ISO Latin 1 characters as they are
1290
 
        for (i=255; i>=32; --i)
1291
 
        {
1292
 
            filter[i] = i;
1293
 
        }
 
1289
        // no, leave all visible ISO Latin 1 characters as they are
 
1290
        for ( i = 32; i <= 126; ++i )
 
1291
            filter[ i ] = i;
 
1292
        for ( i = 161; i <= 255; ++i )
 
1293
            filter[ i ] = i;
 
1294
 
 
1295
        filter[ 160 ] = ' '; // non-breaking space
1294
1296
 
1295
1297
        // map return and tab to space
1296
1298
        SetMap('\n',' ');