commands/localdrive/localdrive.cpp
changeset 26 5d370dafea69
parent 0 7f656887cf89
child 66 2a78c4ff2eab
--- a/commands/localdrive/localdrive.cpp	Thu Aug 05 12:06:56 2010 +0100
+++ b/commands/localdrive/localdrive.cpp	Fri Aug 06 17:00:19 2010 +0100
@@ -84,7 +84,7 @@
 
 // More GCC issues (see qresources3\src\utils.cpp). Happily the compiler is happier with SLitC and DESC than it is with TLitC and _LIT
 #include <fshell/descriptorutils.h>
-#define CASE_LIT(x) case x: { LtkUtils::SLitC KName = DESC(#x); return &KName; }
+#define CASE_LIT(x) case x: { static const LtkUtils::SLitC KName = DESC(#x); return &KName; }
 
 const TDesC* MediaTypeDesc(TMediaType aType)
 	{