summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-21 14:48:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-21 14:48:14 +0000
commit7d681e91194e2e88c5e29be6e49714bc62cfcb70 (patch)
treef90288b1ea68e18482171749edef728def90cce3
parent9a81e4bf5325495b5ea533d1ca2ac7117c09365e (diff)
downloadcontrol-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar
control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.gz
control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.bz2
control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.tar.xz
control-center-7d681e91194e2e88c5e29be6e49714bc62cfcb70.zip
let simplify and speedup "strip first underscore" regexp
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index 40dc8969..dc291edf 100755
--- a/control-center
+++ b/control-center
@@ -328,7 +328,7 @@ my ($menu, $factory) = create_factory_menu($window_global,
));
%check_boxes = map {
- $_ => $factory->get_widget("<main>" . join '', map { s/([^_]*)_(.*)/$1$2/; $_ } @{$options{$_}})
+ $_ => $factory->get_widget("<main>" . join '', map { s/_//; $_ } @{$options{$_}})
} ("embedded_mode", "show_log", if_($::isWiz, "wiz_expert"));