diff libpurple/internal.h @ 23398:074be48b20e7

Use CLIENT_WEBSITE rather than PURPLE_WEBSITE in libpurple. If the build process doesn't #define CLIENT_WEBSITE, internal.h will define it as PURPLE_WEBSITE. No change for Pidgin or Finch, but this will let other clients such as Adium present their own site in error messages as needed.
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 01 Jul 2008 18:06:32 +0000
parents eac0561dfd55
children f1602b78aa59
line wrap: on
line diff
--- a/libpurple/internal.h	Tue Jul 01 04:26:19 2008 +0000
+++ b/libpurple/internal.h	Tue Jul 01 18:06:32 2008 +0000
@@ -229,6 +229,9 @@
 #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest))
 
 #define PURPLE_WEBSITE "http://pidgin.im/"
+#ifndef CLIENT_WEBSITE
+	#define CLIENT_WEBSITE PURPLE_WEBSITE
+#endif
 #define PURPLE_DEVEL_WEBSITE "http://developer.pidgin.im/"
 
 /* This is for the accounts code to notify the buddy icon code that