ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Windows/clip_windows.cpp
(Generate patch)

Comparing BasiliskII/src/Windows/clip_windows.cpp (file contents):
Revision 1.5 by gbeauche, 2008-01-01T09:40:33Z vs.
Revision 1.6 by asvitkine, 2009-04-14T15:17:03Z

# Line 231 | Line 231 | static void do_getscrap(void **handle, u
231                                                  for (int i = 0; i < length; i++) {
232                                                          uint8 c = data[i];
233                                                          if (c < 0x80) {
234 +                                                                if (c == 0)
235 +                                                                        break;
236                                                                  if (c == 13 && i < length - 1 && data[i + 1] == 10) {   // CR/LF -> CR
237                                                                          c = 13;
238                                                                          i++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines