QTfrontend/tcpBase.cpp
changeset 533 eebb7684ac22
parent 486 7ea71cd3acd5
child 1066 1f1b3686a2b0
--- a/QTfrontend/tcpBase.cpp	Wed May 30 19:29:27 2007 +0000
+++ b/QTfrontend/tcpBase.cpp	Wed May 30 20:48:57 2007 +0000
@@ -150,12 +150,12 @@
 		if (toSendBuf.size() > 0)
 		{
 			IPCSocket->write(toSendBuf);
-			if(m_isDemoMode) demo->append(toSendBuf);
+			if(m_isDemoMode) demo.append(toSendBuf);
 			toSendBuf.clear();
 		}
 		if(!buf.isEmpty()) {
 		  IPCSocket->write(buf);
-		  if(m_isDemoMode && demo) demo->append(buf);
+		  if(m_isDemoMode) demo.append(buf);
 		}
 	}
 }