Fix WMPA compilation without the WDK

This commit is contained in:
Berke Viktor
2012-11-11 18:26:31 +01:00
parent 82694d2d29
commit 39b797b7bb
2 changed files with 3 additions and 3 deletions

View File

@ -472,7 +472,7 @@ CString wmpaGetSongTitle(void)
CWMPMedia media = wmp->GetCurrentMedia();
if (media == NULL) {
hexchat_printf(ph, "WMPA: Could not get current media");
return(HEXCHAT_EAT_ALL);
return(CString ("%d", HEXCHAT_EAT_ALL));
}
CString artist = media.getItemInfo("Artist");