aboutsummaryrefslogtreecommitdiff
path: root/src/update_check.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-09 01:33:30 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-09 01:33:30 +0000
commitfc06fff3379a6fa47d8acd2f8aa39719fd79b3c7 (patch)
treee7aa6ed07f2f5b6c9eb20d24518c6ddd80467ade /src/update_check.c
parenta9beeb4b62a9410292f0579470de6ebdaf1d103f (diff)
win32: fixed crash on update check.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2743 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/update_check.c')
-rw-r--r--src/update_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update_check.c b/src/update_check.c
index 2196afe9..defb4aeb 100644
--- a/src/update_check.c
+++ b/src/update_check.c
@@ -697,7 +697,7 @@ void update_check(gboolean show_dialog_always)
if (!check_url) {
#ifdef G_OS_WIN32
- g_snprintf(buf, sizeof(buf), "%s?ver=%s&os=win", VERSION_URI);
+ g_snprintf(buf, sizeof(buf), "%s?ver=%s&os=win", VERSION_URI, VERSION);
#else
if (strstr(TARGET_ALIAS, "linux"))
g_snprintf(buf, sizeof(buf), "%s?ver=%s&os=linux", VERSION_URI, VERSION);