GUAC-584: Name of constant should be CP1252, not ISO-8859-1.

This commit is contained in:
Michael Jumper 2014-04-02 14:22:22 -07:00
parent 49ffaf0826
commit 3f19e2b2bb
2 changed files with 4 additions and 4 deletions

View File

@ -145,7 +145,7 @@ void guac_rdp_process_cb_format_list(guac_client* client,
/* If plain text available, request it */
if (event->formats[i] == CB_FORMAT_TEXT)
formats |= GUAC_RDP_CLIPBOARD_FORMAT_ISO8859_1;
formats |= GUAC_RDP_CLIPBOARD_FORMAT_CP1252;
else if (event->formats[i] == CB_FORMAT_UNICODETEXT)
formats |= GUAC_RDP_CLIPBOARD_FORMAT_UTF16;
@ -158,7 +158,7 @@ void guac_rdp_process_cb_format_list(guac_client* client,
}
/* Use plain text if Unicode unavailable */
if (formats & GUAC_RDP_CLIPBOARD_FORMAT_ISO8859_1) {
if (formats & GUAC_RDP_CLIPBOARD_FORMAT_CP1252) {
__guac_rdp_cb_request_format(client, CB_FORMAT_TEXT);
return;
}

View File

@ -41,9 +41,9 @@
#endif
/**
* Clipboard format for text encoded in ISO-8859-1.
* Clipboard format for text encoded in Windows CP1252.
*/
#define GUAC_RDP_CLIPBOARD_FORMAT_ISO8859_1 1
#define GUAC_RDP_CLIPBOARD_FORMAT_CP1252 1
/**
* Clipboard format for text encoded in UTF-16.