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

Comparing BasiliskII/src/BeOS/clip_beos.cpp (file contents):
Revision 1.4 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.5 by cebix, 2001-02-09T20:04:15Z

# Line 73 | Line 73 | void PutScrap(uint32 type, void *scrap,
73                                  if (no_clip_conversion) {
74  
75                                          // Only convert CR->LF
76 <                                        char *buf = new char[dest_length];
76 >                                        char *buf = new char[length];
77                                          for (int i=0; i<length; i++) {
78                                                  if (i[(char *)scrap] == 13)
79                                                          buf[i] = 10;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines