File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -134,23 +134,23 @@ BOOL CPPageFileInfoClip::OnInitDialog()
134
134
BeginEnumFilters (m_pFG, pEF, pBF) {
135
135
if (CComQIPtr<IAMMediaContent, &IID_IAMMediaContent> pAMMC = pBF) {
136
136
CComBSTR bstr;
137
- if (SUCCEEDED (pAMMC->get_Title (&bstr)) && wcslen ( bstr.m_str ) > 0 ) {
137
+ if (SUCCEEDED (pAMMC->get_Title (&bstr)) && bstr.Length () ) {
138
138
m_clip = bstr.m_str ;
139
139
fEmpty = false ;
140
140
}
141
- if (SUCCEEDED (pAMMC->get_AuthorName (&bstr)) && wcslen ( bstr.m_str ) > 0 ) {
141
+ if (SUCCEEDED (pAMMC->get_AuthorName (&bstr)) && bstr.Length () ) {
142
142
m_author = bstr.m_str ;
143
143
fEmpty = false ;
144
144
}
145
- if (SUCCEEDED (pAMMC->get_Copyright (&bstr)) && wcslen ( bstr.m_str ) > 0 ) {
145
+ if (SUCCEEDED (pAMMC->get_Copyright (&bstr)) && bstr.Length () ) {
146
146
m_copyright = bstr.m_str ;
147
147
fEmpty = false ;
148
148
}
149
- if (SUCCEEDED (pAMMC->get_Rating (&bstr)) && wcslen ( bstr.m_str ) > 0 ) {
149
+ if (SUCCEEDED (pAMMC->get_Rating (&bstr)) && bstr.Length () ) {
150
150
m_rating = bstr.m_str ;
151
151
fEmpty = false ;
152
152
}
153
- if (SUCCEEDED (pAMMC->get_Description (&bstr)) && wcslen ( bstr.m_str ) > 0 ) {
153
+ if (SUCCEEDED (pAMMC->get_Description (&bstr)) && bstr.Length () ) {
154
154
m_desc.SetWindowText (CString (bstr.m_str ));
155
155
fEmpty = false ;
156
156
}
You can’t perform that action at this time.
0 commit comments