1 |
|
/* |
2 |
|
* clip_beos.cpp - Clipboard handling, BeOS implementation |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 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 |
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; |