summary refs log tree commit diff stats
path: root/plugins/wmpa/hexchat-plugin.cpp
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-11 18:26:31 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-11 18:26:31 +0100
commit39b797b7bbb452bc3fc0b4b6af30b7f7fe13304a (patch)
tree40623a6678d88e17331585074d44355fa1cf98ff /plugins/wmpa/hexchat-plugin.cpp
parent82694d2d29f6fbe5d72dbfec1bf79fc51e109f57 (diff)
Fix WMPA compilation without the WDK
Diffstat (limited to 'plugins/wmpa/hexchat-plugin.cpp')
-rw-r--r--plugins/wmpa/hexchat-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wmpa/hexchat-plugin.cpp b/plugins/wmpa/hexchat-plugin.cpp
index 956218d2..7b8c2753 100644
--- a/plugins/wmpa/hexchat-plugin.cpp
+++ b/plugins/wmpa/hexchat-plugin.cpp
@@ -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");