$ git clone http://tcclient.ion.nu/tc_client.git
commit 658eadb1aa786e8f607771ab1569704f18808ace
Author: Alicia <...>
Date:   Wed Feb 24 19:30:29 2016 +0100

    tc_client-gtk: windows compat: do /mbs handling on a duplicated buffer to avoid cutting off the displayed message.

diff --git a/ChangeLog b/ChangeLog
index 865524b..ee320ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@ tc_client-gtk: windows compat: don't try to run empty commands.
 tc_client-gtk: make timestamps gray and nicknames bold.
 tc_client-gtk: added option to change font size in the chat.
 tc_client-gtk: initialize audio samples of new cams to 0 (experimental audio support)
+tc_client-gtk: windows compat: do /mbs handling on a duplicated buffer to avoid cutting off the displayed message.
 modbot: use youtube-dl's 'ytsearch:' instead of '--default-search auto', fixes issues with search terms that include slashes.
 0.37:
 Reimplemented announcement of moderators.
diff --git a/utilities/gtk/camviewer.c b/utilities/gtk/camviewer.c
index 331dd84..e709d7b 100644
--- a/utilities/gtk/camviewer.c
+++ b/utilities/gtk/camviewer.c
@@ -294,6 +294,9 @@ gboolean handledata(GIOChannel* iochannel, GIOCondition condition, gpointer data
       {
 #ifndef _WIN32
         if(!fork())
+#else
+        char* spacetmp=space;
+        space=strdup(space);
 #endif
         {
 // TODO: store the PID and make sure it's dead before starting a new video? and upon /mbc?
@@ -322,6 +325,8 @@ gboolean handledata(GIOChannel* iochannel, GIOCondition condition, gpointer data
           }
 #ifdef _WIN32
           w32_runcmd(cmd);
+          free(space);
+          space=spacetmp;
 #else
           execlp("sh", "sh", "-c", cmd, (char*)0);
           _exit(0);