Changeset 270 for binary-improvements/MapRendering/Web
- Timestamp:
- Apr 28, 2016, 7:31:35 PM (10 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  binary-improvements/MapRendering/Web/LogBuffer.cs (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      binary-improvements/MapRendering/Web/LogBuffer.csr253 r270 8 8 { 9 9 public class LogBuffer { 10 private const int MAX_ENTRIES = 30 ;10 private const int MAX_ENTRIES = 3000; 11 11 private static LogBuffer instance; 12 12 … … 108 108 } 109 109 110 int index = _start - listOffset; 111 112 if (index + _count > logEntries.Count) { 113 _count = logEntries.Count - index; 114 } 115 110 116 _end = _start + _count; 111 return logEntries.GetRange (_start - listOffset, _count); 117 118 return logEntries.GetRange (index, _count); 112 119 } 113 120 } 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
