diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
index f97444139..928b80dd9 100644
--- a/lib/Slic3r.pm
+++ b/lib/Slic3r.pm
@@ -350,8 +350,8 @@ sub tags {
# End of line
$tags{eol} = ($format eq 'html') ? '
' : "\n";
# Heading
- $tags{h2start} = ($format eq 'html') ? '
' : '';
- $tags{h2end} = ($format eq 'html') ? '
' : '';
+ $tags{h2start} = ($format eq 'html') ? '' : '';
+ $tags{h2end} = ($format eq 'html') ? '' : '';
# Bold font
$tags{bstart} = ($format eq 'html') ? '' : '';
$tags{bend} = ($format eq 'html') ? '' : '';
diff --git a/lib/Slic3r/GUI/GLShader.pm b/lib/Slic3r/GUI/GLShader.pm
index c2af3e38f..8db05f5e8 100644
--- a/lib/Slic3r/GUI/GLShader.pm
+++ b/lib/Slic3r/GUI/GLShader.pm
@@ -44,12 +44,10 @@ sub new
my $glsl_version = glGetString(GL_SHADING_LANGUAGE_VERSION) // $glsl_version_ARB;
$glsl_version .= 'ARB(' . $glsl_version_ARB . ')' if ($glsl_version_ARB ne '' && $glsl_version ne $glsl_version_ARB);
my $out = '';
- if ($^O eq 'MSWin32') {
- if ($gl_vendor eq 'Microsoft Corporation' && $renderer eq 'GDI Generic') {
- $out .= "Windows is using a software OpenGL renderer.\n";
- $out .= "You are either connected over remote desktop,\n";
- $out .= "or a hardware acceleration is not available.\n";
- }
+ if ($^O eq 'MSWin32' && $gl_vendor eq 'Microsoft Corporation' && $gl_renderer eq 'GDI Generic') {
+ $out .= "Windows is using a software OpenGL renderer.\n";
+ $out .= "You are either connected over remote desktop,\n";
+ $out .= "or a hardware acceleration is not available.\n";
}
$out .= "GL version: ${gl_version}\n";
$out .= "vendor: ${gl_vendor}\n";
diff --git a/lib/Slic3r/GUI/SystemInfo.pm b/lib/Slic3r/GUI/SystemInfo.pm
index 23a85952c..717ff12e5 100644
--- a/lib/Slic3r/GUI/SystemInfo.pm
+++ b/lib/Slic3r/GUI/SystemInfo.pm
@@ -30,11 +30,11 @@ sub new {
'