summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/monitor.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-14 06:09:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-14 06:09:05 +0000
commite390b8abc260444c454bba5676433b4d4e1caa55 (patch)
tree5a0802016041534f1e57f8398e27b6e6b20a0510 /perl-install/Xconfig/monitor.pm
parentb00e9ede47756a7119695fe524b6d252557f3aa5 (diff)
downloaddrakx-e390b8abc260444c454bba5676433b4d4e1caa55.tar
drakx-e390b8abc260444c454bba5676433b4d4e1caa55.tar.gz
drakx-e390b8abc260444c454bba5676433b4d4e1caa55.tar.bz2
drakx-e390b8abc260444c454bba5676433b4d4e1caa55.tar.xz
drakx-e390b8abc260444c454bba5676433b4d4e1caa55.zip
quotes in monitor names causes havoc, replace them (bugzilla #16406)
Diffstat (limited to 'perl-install/Xconfig/monitor.pm')
-rw-r--r--perl-install/Xconfig/monitor.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index eda0ff5ad..20eae5966 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -209,6 +209,7 @@ sub probe_DDC() {
if ($monitor->{EISA_ID}) {
$monitor->{VendorName} = "Plug'n Play";
$monitor->{ModelName} = $monitor->{monitor_name};
+ $monitor->{ModelName} =~ s/"/''/g;
}
configure_automatic($monitor) or return;
$monitor;