summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 19:54:05 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 19:54:05 +0200
commit8f130324d3af300a4e98a71e0f8c16c3a834f317 (patch)
tree4c9ddc84365e72b1bb972fcbcbe55a5747465bf2
parentcc28cc0177aee6fc93436443597078e5be374354 (diff)
Some cosmetic and compilation fixes for the about screen
-rw-r--r--configure.in2
-rw-r--r--src/fe-gtk/about.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 02fe2007..0890d235 100644
--- a/configure.in
+++ b/configure.in
@@ -54,6 +54,8 @@ AH_VERBATIM([USING_LINUX],[#undef USING_LINUX])
 AH_VERBATIM([socklen_t],[#undef socklen_t])
 AH_VERBATIM([USE_DBUS],[#undef USE_DBUS])
 
+AC_DEFINE([XCHAT_REVISION],["1508"],[XChat SVN Revision])
+
 AC_PATH_PROG(sedpath, sed)
 if test "_$sedpath" = _; then
 	AC_MSG_ERROR("Cannot find sed: I need it\!")
diff --git a/src/fe-gtk/about.c b/src/fe-gtk/about.c
index 228a7f28..ca3cad72 100644
--- a/src/fe-gtk/about.c
+++ b/src/fe-gtk/about.c
@@ -116,7 +116,6 @@ menu_about (GtkWidget * wid, gpointer sess)
 	(snprintf) (buf, sizeof (buf),
 				"<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n"
 				"\n%s\n\n"
-				"<b>XChat Revision</b>: r"XCHAT_REVISION"\n"
 				"<b>OS</b>: %s\n"
 				"<b>Charset</b>: %s "
 #ifdef WIN32
@@ -124,12 +123,13 @@ menu_about (GtkWidget * wid, gpointer sess)
 #else
 				"<b>Renderer</b>: %s\n"
 #endif
+				"<b>XChat Revision</b>: r"XCHAT_REVISION"\n"
 				"<b>Compiled</b>: "__DATE__"\n"
 #ifdef WIN32
 				"<b>Portable Mode</b>: %s\n"
-				"<b>Build Type</b>: x%d\n\n"
+				"<b>Build Type</b>: x%d\n"
 #endif
-				"<small>\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org>\n"
+				"\n<small>\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org>\n"
 				"\302\251 2009-2011 Berke Viktor &lt;bviktor@hexchat.org></small>",
 				_("A multiplatform IRC Client"),
 				get_cpu_str (),