summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-21 16:47:12 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-21 16:47:12 +0200
commitd63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e (patch)
tree0ac263154b2500d569314af286c96b1a06997f06
parent254b8803f962ebcfa9a40f911d62d5a6a35b39bd (diff)
downloadspice-protocol-d63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e.tar.gz
spice-protocol-d63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e.tar.xz
spice-protocol-d63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e.zip
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.
-rw-r--r--spice/controller_prot.h4
1 files 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,