From cf6f7052ab1ed97d57e5291d81a2e493476cadc2 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 16 Mar 2010 15:52:27 +0100 Subject: [PATCH 04/10] Windows CE has a different understanding of "command line" from Windows. --- dbus/dbus-spawn-win.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dbus/dbus-spawn-win.c b/dbus/dbus-spawn-win.c index d50e40d..6c32ab2 100644 --- a/dbus/dbus-spawn-win.c +++ b/dbus/dbus-spawn-win.c @@ -508,7 +508,11 @@ spawn_program (const char* name, char** argv, char** envp) char *arg_string; BOOL result; +#ifdef DBUS_WINCE + arg_string = build_commandline (argv + 1); +#else arg_string = build_commandline (argv); +#endif if (!arg_string) return INVALID_HANDLE_VALUE; -- 1.7.0