# HG changeset patch # User ib # Date 1394722637 0 # Node ID c20f0c6d19f111b3fa92e2cff2eae76cf503ff5f # Parent 7fea799f350c37e3661eb65ba0c4f120b0fb18db Fix symbol character for dynamic label variable $T in Win32 GUI. Only STREAMTYPE_STREAM is 'u', the default is ' '. Additionally, use the symbolic constant STREAMTYPE_FILE not its value 0. diff -r 7fea799f350c -r c20f0c6d19f1 gui/win32/widgetrender.c --- a/gui/win32/widgetrender.c Thu Mar 13 14:13:15 2014 +0000 +++ b/gui/win32/widgetrender.c Thu Mar 13 14:57:17 2014 +0000 @@ -161,11 +161,13 @@ else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", "t"); else stringreplace(text, "$a", "r"); - if(guiInfo.StreamType == 0) + if(guiInfo.StreamType == STREAMTYPE_FILE) stringreplace(text, "$T", "f"); else if(guiInfo.StreamType == STREAMTYPE_DVD || guiInfo.StreamType == STREAMTYPE_DVDNAV) stringreplace(text, "$T", "d"); - else stringreplace(text, "$T", "u"); + else if(guiInfo.StreamType == STREAMTYPE_STREAM) + stringreplace(text, "$T", "u"); + else stringreplace(text, "$T", " "); stringreplace(text, "$f", acp(TranslateFilename(1, tmp, sizeof(tmp)))); stringreplace(text, "$F", acp(TranslateFilename(2, tmp, sizeof(tmp))));