Fix for an issue with file names having zero length if the URL ends with a slash RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Mon, 01 Nov 2010 14:06:24 +0000
branchRCL_3
changeset 326 255972d41940
parent 325 c11c471936bc
child 327 b4560769586d
Fix for an issue with file names having zero length if the URL ends with a slash
engine/src/ShowEngine.cpp
--- a/engine/src/ShowEngine.cpp	Mon Nov 01 12:28:18 2010 +0000
+++ b/engine/src/ShowEngine.cpp	Mon Nov 01 14:06:24 2010 +0000
@@ -216,7 +216,7 @@
 	else
 		{
 		// no extension found, we'll have to rely on magic numbers
-		newFilename.Copy(fileName);
+		newFilename.Format(_L("%u"), info->Uid());
 		}
 			
 	relPath.Append(newFilename);