git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@773922
283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
// Ok, this is really dumb for now, but it works for testing.
String s;
+
#ifdef _WIN32
- if((const wchar_t *)fileName)
- s = (const wchar_t *)fileName;
- else
- s = (const char *)fileName;
+ s = (wcslen((const wchar_t *) fileName) > 0) ? (const wchar_t) fileName : (const char *) fileName;
#else
s = fileName;
#endif
class Tag;
class AudioProperties;
-
#ifdef _WIN32
class TAGLIB_EXPORT FileName
{