Skip to content

Commit

Permalink
Fixed bug where version 4.70 would be shown as 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Nov 16, 2010
1 parent c6b8096 commit 1542642
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/Version_Check.xml
Expand Up @@ -284,7 +284,7 @@ function do_version_check ()
WindowText (win, font_id, "Current version: " .. Version (), x, y, 0, 0, WINDOW_TEXT_COLOUR )
y = y + font_height
WindowText (win, font_id, "Available version: " .. new_version, x, y, 0, 0, WINDOW_TEXT_COLOUR )
WindowText (win, font_id, "Available version: " .. info.version, x, y, 0, 0, WINDOW_TEXT_COLOUR )
y = y + font_height
WindowText (win, font_id, string.format ("Size: %0.2f Mb", info.installer_size / 1024 / 1024), x, y, 0, 0, WINDOW_TEXT_COLOUR )
Expand All @@ -293,9 +293,9 @@ function do_version_check ()
installer_url = info.installer_url
-- link to download this version
make_hyperlink ("Download version " .. new_version,
make_hyperlink ("Download version " .. info.version,
"download",
x, y, hyperlink_download, "Download version " .. new_version)
x, y, hyperlink_download, "Download version " .. info.version)
y = y + font_height
-- link to view announcements forum topic
Expand Down

0 comments on commit 1542642

Please sign in to comment.