summary refs log tree commit diff stats
path: root/plugins/wmpa/wmpadialog.cpp
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 08:42:48 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 08:42:48 +0100
commite681eafa78262d0c177832d67900687f2c938081 (patch)
tree5668476e046c505b9f3fcc8c53b6e0971c146978 /plugins/wmpa/wmpadialog.cpp
parent97dc13fde70810abf07985f45ac459560eae6e96 (diff)
Rebranding for the rest of plugin*
Diffstat (limited to 'plugins/wmpa/wmpadialog.cpp')
-rw-r--r--plugins/wmpa/wmpadialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/wmpa/wmpadialog.cpp b/plugins/wmpa/wmpadialog.cpp
index 90bae309..28d33c93 100644
--- a/plugins/wmpa/wmpadialog.cpp
+++ b/plugins/wmpa/wmpadialog.cpp
@@ -108,10 +108,10 @@ void CWMPADialog::OnDblclkPlaylist()
 

    m_WMP.GetControls().play();

    if (autoAnnounce) {

-      xchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

+      hexchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

    }

    else {

-      xchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

+      hexchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

    }

 }

 

@@ -195,10 +195,10 @@ void CWMPADialog::OnDblclkSonglist()
    int index = m_SongListBox.GetCurSel();

    m_WMP.GetControls().playItem(m_WMP.GetCurrentPlaylist().GetItem(index));

    if (autoAnnounce) {

-      xchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

+      hexchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

    }

    else {

-      xchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

+      hexchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

    }

 }

 

@@ -216,10 +216,10 @@ void CWMPADialog::OnCurrentItemChangeWmp(LPDISPATCH pdispMedia)
    int state = m_WMP.GetPlayState();

    if (state == 3) { // Playing

       if (autoAnnounce) {

-         xchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

+         hexchat_commandf(ph, "me is playing %s", (LPCTSTR) wmpaGetSongTitle());

       }

       else {

-         xchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

+         hexchat_printf(ph, "WMPA: Playing %s", (LPCTSTR) wmpaGetSongTitle());

       }

    }