summary refs log tree commit diff stats
path: root/plugins/hextray
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/hextray
parenta51a69134b8bdc94cfb4dcc1403e33cce24d34bc (diff)
Now some final cleanup (I hope)
Diffstat (limited to 'plugins/hextray')
-rw-r--r--plugins/hextray/callbacks.cpp16
-rw-r--r--plugins/hextray/hexchat.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/plugins/hextray/callbacks.cpp b/plugins/hextray/callbacks.cpp
index 3882c137..0ced8384 100644
--- a/plugins/hextray/callbacks.cpp
+++ b/plugins/hextray/callbacks.cpp
@@ -55,8 +55,8 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
 }

 

 /***********************************************************************************************/

-/******* our xchat event call back, get the name and info for each event and save it ***********/

-/******* for our alerts later														***********/

+/******* our HexChat event call back, get the name and info for each event and save it *********/

+/******* for our alerts later ******************************************************************/

 /***********************************************************************************************/

 int event_cb(char *word[], void *userdata)

 {

@@ -174,7 +174,7 @@ int event_cb(char *word[], void *userdata)
 	}

 

 	/***********************************/

-	/***** pass the events to xchat ****/

+	/***** pass the events to HexChat **/

 	/***********************************/

 	return HEXCHAT_EAT_NONE;

 }

@@ -256,7 +256,7 @@ LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wparam, LPARAM lparam)
 	case WM_SIZE:

 		{

 			/******************************************/

-			/***** User wants to minimize xChat, ******/

+			/***** User wants to minimize HexChat, ****/

 			/***** are we allowed to go to tray? ******/

 			/******************************************/

 			if((g_dwPrefs & (1<<PREF_TOT)) && (wparam == SIZE_MINIMIZED))

@@ -369,10 +369,10 @@ LRESULT CALLBACK sdTrayProc(HWND hWnd, int msg)
 		break;

 	case ACT_RESTORE:

 		{

-			/***********************************************/

-			/** user wants us to restore the xchat window **/

-			/** and of autoaway is on, set as back		**/

-			/***********************************************/

+			/*************************************************/

+			/** user wants us to restore the HexChat window **/

+			/** and of autoaway is on, set as back ******** **/

+			/*************************************************/

 			SendMessage(g_hXchatWnd, WM_SYSCOMMAND, SC_RESTORE, 0);

 			SetForegroundWindow(hWnd);

 			

diff --git a/plugins/hextray/hexchat.cpp b/plugins/hextray/hexchat.cpp
index 6376b2d9..38d0e52f 100644
--- a/plugins/hextray/hexchat.cpp
+++ b/plugins/hextray/hexchat.cpp
@@ -28,7 +28,7 @@
 #include "hexchat.h"

 #include "utility.h"

 

-// from util.c of xchat source code ( slightly modified to fit X-Tray Syntax )

+// from util.c of HexChat source code ( slightly modified to fit HexTray Syntax )

 char *hexchat_strip_color (char *text)

 {

 	int nc	= 0;