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.3 by cebix, 2000-05-16T17:11:38Z vs.
Revision 1.5 by cebix, 2001-02-09T20:04:15Z

# Line 1 | Line 1
1   /*
2   *  clip_beos.cpp - Clipboard handling, BeOS implementation
3   *
4 < *  Basilisk II (C) 1997-2000 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# 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