Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed: pass strings through eclipses to avoid compiler warnings

  • Loading branch information...
commit c06ba50ab6f79930e4ca15ea8fec3bae28ffa6fb 1 parent 782ce0c
spiff authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/Autorun.cpp
View
6 xbmc/Autorun.cpp
@@ -222,7 +222,7 @@ bool CAutorun::RunDisc(IDirectory* pDir, const CStdString& strDrive, int& nAdded
items.Sort(SORT_METHOD_LABEL, SortOrderDescending);
phddvdItem = pItem;
hddvdname = URIUtils::GetFileName(items[0]->GetPath());
- CLog::Log(LOGINFO,"HD DVD: " + items[0]->GetPath());
+ CLog::Log(LOGINFO,"HD DVD: %s", items[0]->GetPath().c_str());
}
}
@@ -242,7 +242,7 @@ bool CAutorun::RunDisc(IDirectory* pDir, const CStdString& strDrive, int& nAdded
items.Sort(SORT_METHOD_LABEL, SortOrderAscending);
phddvdItem = pItem;
hddvdname = URIUtils::GetFileName(items[0]->GetPath());
- CLog::Log(LOGINFO,"HD DVD: " + items[0]->GetPath());
+ CLog::Log(LOGINFO,"HD DVD: %s",items[0]->GetPath().c_str());
}
}
// Find and sort *.evo files for internal playback.
@@ -294,7 +294,7 @@ bool CAutorun::RunDisc(IDirectory* pDir, const CStdString& strDrive, int& nAdded
// If no matching rule was found, DVDPlayer will be default player.
if (hddvdplayer != "DVDPlayer")
{
- CLog::Log(LOGINFO,"HD DVD: External singlefile playback initiated: "+ hddvdname);
+ CLog::Log(LOGINFO,"HD DVD: External singlefile playback initiated: %s",hddvdname.c_str());
g_application.PlayFile(item, false);
bPlaying = true;
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.