mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 12:05:47 +08:00
* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as that
is what is returned by GetPriorityClipboardFormat. (fhandler_dev_clipboard::read): Ditto for the format variable.
This commit is contained in:
parent
0f63e6247d
commit
3016669b4b
@ -1,3 +1,9 @@
|
|||||||
|
2005-03-04 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT
|
||||||
|
as that is what is returned by GetPriorityClipboardFormat.
|
||||||
|
(fhandler_dev_clipboard::read): Ditto for the format variable.
|
||||||
|
|
||||||
2005-03-04 Corinna Vinschen <corinna@vinschen.de>
|
2005-03-04 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.
|
* fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.
|
||||||
|
@ -30,7 +30,7 @@ details. */
|
|||||||
|
|
||||||
static const NO_COPY char *CYGWIN_NATIVE = "CYGWIN_NATIVE_CLIPBOARD";
|
static const NO_COPY char *CYGWIN_NATIVE = "CYGWIN_NATIVE_CLIPBOARD";
|
||||||
/* this is MT safe because windows format id's are atomic */
|
/* this is MT safe because windows format id's are atomic */
|
||||||
static UINT cygnativeformat;
|
static int cygnativeformat;
|
||||||
|
|
||||||
fhandler_dev_clipboard::fhandler_dev_clipboard ()
|
fhandler_dev_clipboard::fhandler_dev_clipboard ()
|
||||||
: fhandler_base (), pos (0), membuffer (NULL), msize (0),
|
: fhandler_base (), pos (0), membuffer (NULL), msize (0),
|
||||||
@ -190,7 +190,7 @@ fhandler_dev_clipboard::read (void *ptr, size_t& len)
|
|||||||
HGLOBAL hglb;
|
HGLOBAL hglb;
|
||||||
size_t ret;
|
size_t ret;
|
||||||
UINT formatlist[2];
|
UINT formatlist[2];
|
||||||
UINT format;
|
int format;
|
||||||
if (eof)
|
if (eof)
|
||||||
len = 0;
|
len = 0;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user