Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Subtitles/RealTextParser.cpp')
-rw-r--r--src/Subtitles/RealTextParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Subtitles/RealTextParser.cpp b/src/Subtitles/RealTextParser.cpp
index 99ce59637..7d1d2c3d7 100644
--- a/src/Subtitles/RealTextParser.cpp
+++ b/src/Subtitles/RealTextParser.cpp
@@ -1,5 +1,5 @@
/*
- * (C) 2008-2012 see Authors.txt
+ * (C) 2008-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -117,7 +117,7 @@ bool CRealTextParser::ParseRealText(wstring p_szFile)
m_RealText.m_bCenter = true;
} else if (oTag.m_szName == L"required") {
// Ignore
- } else if (oTag.m_szName == L"") {
+ } else if (oTag.m_szName.empty()) {
// Ignore
} else {
// assume formating tag (handled later)