1 |
|
/* |
2 |
|
* clip_unix.cpp - Clipboard handling, Unix implementation |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 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 |
23 |
|
#include <X11/Xlib.h> |
24 |
|
|
25 |
|
#include "clip.h" |
26 |
+ |
#include "macos_util.h" |
27 |
|
#include "prefs.h" |
28 |
|
|
29 |
|
#define DEBUG 0 |
88 |
|
return; |
89 |
|
|
90 |
|
switch (type) { |
91 |
< |
case 'TEXT': |
91 |
> |
case FOURCC('T','E','X','T'): |
92 |
|
D(bug(" clipping TEXT\n")); |
93 |
|
|
94 |
|
// Convert text from Mac charset to ISO-Latin1 |