# HG changeset patch # User Sebastian Brannstrom # Date 1288620384 0 # Node ID 255972d41940e7a93635536584992b28a2c03e15 # Parent c11c471936bc32b7e2fa71ecb4cb8c33f2de4408 Fix for an issue with file names having zero length if the URL ends with a slash diff -r c11c471936bc -r 255972d41940 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);