use nicer version info
This commit is contained in:
parent
6d7d815c1d
commit
91fd18e0eb
|
@ -965,7 +965,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/editlist.c xchat-wdk/src
|
||||||
#include <sys/stat.h>
|
#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
|
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.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 @@
|
@@ -19,7 +19,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.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)
|
if (arg_show_version)
|
||||||
{
|
{
|
||||||
+#ifdef WIN32
|
+#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);
|
+ MessageBox (NULL, buffer, "Version Information", MB_OK);
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in New Issue