Changeset 154

Show
Ignore:
Timestamp:
01/18/08 23:35:17 (11 months ago)
Author:
cyrusdaboo
Message:

Make sure the style runs total length is equal to the selection length.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/branches/v4.1d1/MacOS/Sources/Support/Text/CTextWidget.cp

    r74 r154  
    33063306 
    33073307                if (runStart + runLength >= start + length) 
     3308                { 
     3309                        // Adjust the final run to truncate to the actual length being copied 
     3310                        atsui_runs[index].runLength = start + length - startPos; 
    33083311                        break; 
     3312                } 
    33093313 
    33103314                startPos = runStart + runLength;