use nicer version info

This commit is contained in:
berkeviktor@aol.com 2010-12-31 05:31:50 +01:00
parent 6d7d815c1d
commit 91fd18e0eb
1 changed files with 2 additions and 2 deletions

View File

@ -965,7 +965,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/editlist.c xchat-wdk/src
#include <sys/stat.h>
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/fe-gtk/fe-gtk.c
--- xchat-wdk.orig/src/fe-gtk/fe-gtk.c 2010-08-14 03:46:21 +0200
+++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-12-31 05:04:57 +0100
+++ xchat-wdk/src/fe-gtk/fe-gtk.c 2010-12-31 05:23:47 +0100
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
@ -1023,7 +1023,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/fe-gtk.c xchat-wdk/src/f
if (arg_show_version)
{
+#ifdef WIN32
+ if (snprintf (buffer, 512, PACKAGE_TARNAME" "PACKAGE_VERSION"\n"))
+ if (snprintf (buffer, 512, DISPLAY_NAME" "PACKAGE_VERSION"\n"))
+ {
+ MessageBox (NULL, buffer, "Version Information", MB_OK);
+ }