windowing/windowserver/debuglog/DebLogRD.CPP
branchRCL_3
changeset 18 5e30ef2e26cb
parent 0 5d03bc08d59c
child 163 bbf46f59e123
--- a/windowing/windowserver/debuglog/DebLogRD.CPP	Sat Feb 20 00:07:50 2010 +0200
+++ b/windowing/windowserver/debuglog/DebLogRD.CPP	Fri Mar 12 15:50:05 2010 +0200
@@ -55,7 +55,8 @@
 	buf.Copy(aDes.Mid(pos));
 	buf.Append(' ');
 	buf.Append(aDes2);
-	RDebug::Print(buf);
+	_LIT(KDebugFormatString, "%S");
+	RDebug::Print(KDebugFormatString, &buf);
 	}
 
 void CDebugLogPrint::WriteToLog8L(const TDesC8 &aDes, const TDesC8 &aDes2)
@@ -70,6 +71,7 @@
 	TPtr16 ptr(&buf[bufLen],buf.MaxLength()-bufLen);
 	ptr.Copy(aDes2);
 	buf.SetLength(bufLen+aDes2.Length());
-	RDebug::Print(buf);
+	_LIT(KDebugFormatString, "%S");
+	RDebug::Print(KDebugFormatString, &buf);
 	}