summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive23
1 files changed, 1 insertions, 2 deletions
diff --git a/draklive2 b/draklive2
index 4e2cc11..0d2d76a 100755
--- a/draklive2
+++ b/draklive2
@@ -505,8 +505,7 @@ sub create_bootloader {
output($grub2_cfg, build_grub2_cfg($live, $theme_name, \@theme_fonts, $add_lang_menu));
}
- my $title = $label;
- $title =~ s/-/ /gr;
+ my $title = $label =~ s/-/ /gr;
my $base_theme_txt = $grub2_dir . "/themes/$theme_name/theme.txt";
if (-e $base_theme_txt) {