From d63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 21 Oct 2010 16:47:12 +0200 Subject: controller: Make all text utf-8 We are making all text send over the controller socket utf-8, rather then having somethings as 8 bit (hostname) and others unicode16. Adjust the CONTROLLER_MENU_*_DELIMITER defines for this. --- spice/controller_prot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spice/controller_prot.h b/spice/controller_prot.h index 6cf4ca0..38329c5 100644 --- a/spice/controller_prot.h +++ b/spice/controller_prot.h @@ -96,8 +96,8 @@ typedef struct ATTR_PACKED ControllerData { uint8_t data[0]; } ControllerData; -#define CONTROLLER_MENU_ITEM_DELIMITER L"\n" -#define CONTROLLER_MENU_PARAM_DELIMITER L"\r" +#define CONTROLLER_MENU_ITEM_DELIMITER "\n" +#define CONTROLLER_MENU_PARAM_DELIMITER "\r" enum { CONTROLLER_MENU_FLAGS_SEPARATOR = 1 << 0, -- cgit v1.2.3