summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plugins/upd/upd.c4
-rw-r--r--src/version/version.c3
-rw-r--r--win32/version.txt1
3 files changed, 5 insertions, 3 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index 019d00a3..b986b96e 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -47,7 +47,7 @@ check_version ()
 	}
 
 	hFile = InternetOpenUrl (hINet,
-							"https://raw.github.com/hexchat/hexchat/master/version.txt",
+							"https://raw.github.com/hexchat/hexchat/master/win32/version.txt",
 							NULL,
 							0,
 							INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_RELOAD,
@@ -117,7 +117,7 @@ check_version ()
 
 	hResource = HttpOpenRequest (hConnect,
 								TEXT ("GET"),
-								TEXT ("/hexchat/hexchat/master/version.txt"),
+								TEXT ("/hexchat/hexchat/master/win32/version.txt"),
 								TEXT ("HTTP/1.0"),
 								NULL,
 								NULL,
diff --git a/src/version/version.c b/src/version/version.c
index 202f2bd2..3c1e44cc 100644
--- a/src/version/version.c
+++ b/src/version/version.c
@@ -113,7 +113,8 @@ main (int argc, char *argv[])
 		else if (!strcmp (argv[1], "-v"))	/* version.txt */
 		{
 			printf ("%s", PACKAGE_VERSION);
-		} else
+		}
+		else
 		{
 			printf ("usage:\n\t-a\thexchat.iss/AppVerName\n\t-i\thexchat.iss/VersionInfoVersion\n\t-o\thexchat.iss/OutputBaseFilename\n\t-r\thexchat.rc/FILEVERSION, PRODUCTVERSION\n\t-v\thexchat.iss/AppVersion\n");
 		}
diff --git a/win32/version.txt b/win32/version.txt
new file mode 100644
index 00000000..eafef0d4
--- /dev/null
+++ b/win32/version.txt
@@ -0,0 +1 @@
+2.9.3
\ No newline at end of file