From 8f72a0cad85a1699336add9f25667a95fa534887 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 20 May 2019 15:32:43 +0200 Subject: [PATCH] Fixed the localized PrusaSlicer change log link. Fixed a typo in the code. --- README.md | 3 ++- src/slic3r/GUI/Field.cpp | 2 +- src/slic3r/GUI/UpdateDialogs.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 13a5a57ba..6fd1af4e2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ # PrusaSlicer -Prebuilt Windows, OSX and Linux binaries are available through the [git releases page](https://github.com/prusa3d/PrusaSlicer/releases). +You may want to check the [PrusaSlicer project page](https://www.prusa3d.com/prusaslicer/). +Prebuilt Windows, OSX and Linux binaries are available through the [git releases page](https://github.com/prusa3d/PrusaSlicer/releases) or from the [Prusa3D downloads page](https://www.prusa3d.com/drivers/). PrusaSlicer takes 3D models (STL, OBJ, AMF) and converts them into G-code instructions for FFF printers or PNG layers for mSLA 3D printers. It's diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index b3017813d..7f42db4d7 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -508,7 +508,7 @@ void SpinCtrl::BUILD() { long value; const bool parsed = e.GetString().ToLong(&value); - tmp_value = parsed && value >= INT_MIN && <= INT_MAX ? (int)value : UNDEF_VALUE; + tmp_value = parsed && value >= INT_MIN && value <= INT_MAX ? (int)value : UNDEF_VALUE; #ifdef __WXOSX__ // Forcibly set the input value for SpinControl, since the value diff --git a/src/slic3r/GUI/UpdateDialogs.cpp b/src/slic3r/GUI/UpdateDialogs.cpp index c378b853e..a4f696fb8 100644 --- a/src/slic3r/GUI/UpdateDialogs.cpp +++ b/src/slic3r/GUI/UpdateDialogs.cpp @@ -25,7 +25,7 @@ namespace Slic3r { namespace GUI { -static const char* URL_CHANGELOG = "http://files.prusa3d.com/file/?type=slicerstable&lng=%1%"; +static const char* URL_CHANGELOG = "http://files.prusa3d.com/?latest=slicer-stable&lng=%1%"; static const char* URL_DOWNLOAD = "https://www.prusa3d.com/downloads&lng=%1%"; static const char* URL_DEV = "https://github.com/prusa3d/PrusaSlicer/releases/tag/version_%1%";