summary refs log tree commit diff stats
path: root/plugins/hextray/utility.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/hextray/utility.cpp
parent97dc13fde70810abf07985f45ac459560eae6e96 (diff)
Rebranding for the rest of plugin*
Diffstat (limited to 'plugins/hextray/utility.cpp')
-rw-r--r--plugins/hextray/utility.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/hextray/utility.cpp b/plugins/hextray/utility.cpp
index f2ad2e60..44eaf7b7 100644
--- a/plugins/hextray/utility.cpp
+++ b/plugins/hextray/utility.cpp
@@ -74,11 +74,11 @@ WORD ModToHotkeyf(WORD modifiers)
 

 void SavePrefs(int iDlg)

 {

-	xchat_pluginpref_set_int (ph, "settings", g_dwPrefs);

-	xchat_pluginpref_set_int (ph, "aot", g_iTime);

-	xchat_pluginpref_set_int (ph, "key", g_hHotKey.key);

-	xchat_pluginpref_set_int (ph, "mod", g_hHotKey.mod);

-	xchat_pluginpref_set_str (ph, "away", (const char*) g_szAway);

+	hexchat_pluginpref_set_int (ph, "settings", g_dwPrefs);

+	hexchat_pluginpref_set_int (ph, "aot", g_iTime);

+	hexchat_pluginpref_set_int (ph, "key", g_hHotKey.key);

+	hexchat_pluginpref_set_int (ph, "mod", g_hHotKey.mod);

+	hexchat_pluginpref_set_str (ph, "away", (const char*) g_szAway);

 }

 

 void LoadPrefs()

@@ -91,11 +91,11 @@ void LoadPrefs()
 	/*************************** Get the value for each of our preferances ****************************/

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

 

-	g_dwPrefs = xchat_pluginpref_get_int (ph, "settings");

-	g_iTime = xchat_pluginpref_get_int (ph, "aot");

-	g_hHotKey.key = xchat_pluginpref_get_int (ph, "key");

-	g_hHotKey.mod = xchat_pluginpref_get_int (ph, "mod");

-	xchat_pluginpref_get_str (ph, "away", (char *) g_szAway);

+	g_dwPrefs = hexchat_pluginpref_get_int (ph, "settings");

+	g_iTime = hexchat_pluginpref_get_int (ph, "aot");

+	g_hHotKey.key = hexchat_pluginpref_get_int (ph, "key");

+	g_hHotKey.mod = hexchat_pluginpref_get_int (ph, "mod");

+	hexchat_pluginpref_get_str (ph, "away", (char *) g_szAway);

 

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

 	/******************************** Register our hotkey with windows ********************************/