[Spice-commits] spice/controller_prot.h

Hans de Goede jwrdegoede at kemper.freedesktop.org
Mon Oct 25 05:50:24 PDT 2010


 spice/controller_prot.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d63c0072b4cedaaf9ec83f6ada8cc29d69b08a2e
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Thu Oct 21 16:47:12 2010 +0200

    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.

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,


More information about the Spice-commits mailing list