summary refs log tree commit diff stats
path: root/plugins/ewc/ewc.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 11:47:12 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 11:47:12 +0100
commit507af191bd9a100656b70da66111e2af105d82ee (patch)
tree8c7c87b06471746ad5282d962bd51ab0cec996b9 /plugins/ewc/ewc.c
parenta51a69134b8bdc94cfb4dcc1403e33cce24d34bc (diff)
Now some final cleanup (I hope)
Diffstat (limited to 'plugins/ewc/ewc.c')
-rw-r--r--plugins/ewc/ewc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ewc/ewc.c b/plugins/ewc/ewc.c
index 9fb5a135..c8e508f7 100644
--- a/plugins/ewc/ewc.c
+++ b/plugins/ewc/ewc.c
@@ -1,5 +1,5 @@
 /*

-EasyWinampControl - A Winamp "What's playing" plugin for Xchat

+EasyWinampControl - A Winamp "What's playing" plugin for HexChat

 Copyright (C) Yann HAMON & contributors

 

 This library is free software; you can redistribute it and/or

@@ -141,7 +141,7 @@ static int wp_cb(char *word[], char *word_eol[], void *userdata)
     hexchat_print(ph, "Winamp's window not found - Is winamp really running?\n");

   else {

     //Winamp's running

-    // Seems buggy when winamp2's agent is running, and winamp not (or winamp3) -> crashes xchat.

+    // Seems buggy when winamp2's agent is running, and winamp not (or winamp3) -> crashes HexChat.

     SendMessage(hwndWinamp, WM_USER, (WPARAM)0, (LPARAM)125);

 

     if ((samplerate = SendMessage(hwndWinamp, WM_USER, (WPARAM)0, (LPARAM)126)) == 0) {

@@ -195,7 +195,7 @@ static int wp_cb(char *word[], char *word_eol[], void *userdata)
     hexchat_commandf(ph, "dispcurrsong %d %d %d %s %s %s", samplerate, bitrate, nbchannels, elapsedtime, totaltime, this_title);

   }

 

-  return HEXCHAT_EAT_ALL;   /* eat this command so xchat and other plugins can't process it */

+  return HEXCHAT_EAT_ALL;   /* eat this command so HexChat and other plugins can't process it */

 }

 

 

@@ -206,7 +206,7 @@ int hexchat_plugin_init(hexchat_plugin *plugin_handle,
                       char **plugin_version,

                       char *arg)

 {

-  /* we need to save this for use with any xchat_* functions */

+  /* we need to save this for use with any hexchat_* functions */

   ph = plugin_handle;

 

   *plugin_name = "EasyWinampControl";