diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-08-30 01:29:53 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-08-30 01:29:53 (GMT) |
commit | a56552217f33d3ce4d72d65ca19056d45858a4ee (patch) | |
tree | 1dd5fe05379306ad4b0683b65e9da9db7c4a961f /abs/core-testing/mythinstall/xorgsettings.h | |
parent | e179d165396f026fa6053c6c055d00d16b5eb141 (diff) | |
download | linhes_pkgbuild-a56552217f33d3ce4d72d65ca19056d45858a4ee.zip linhes_pkgbuild-a56552217f33d3ce4d72d65ca19056d45858a4ee.tar.gz linhes_pkgbuild-a56552217f33d3ce4d72d65ca19056d45858a4ee.tar.bz2 |
LinHES-config mythinstall foldingathome: initial inclusion of Folding@home
Diffstat (limited to 'abs/core-testing/mythinstall/xorgsettings.h')
-rwxr-xr-x | abs/core-testing/mythinstall/xorgsettings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core-testing/mythinstall/xorgsettings.h b/abs/core-testing/mythinstall/xorgsettings.h index 4a4ed34..46c4952 100755 --- a/abs/core-testing/mythinstall/xorgsettings.h +++ b/abs/core-testing/mythinstall/xorgsettings.h @@ -152,7 +152,7 @@ static HostComboBox *HostXres() if (strcmp (previous_mode, separator) == 0) continue; - strncpy (previous_mode, separator, 200); + strncpy (previous_mode, separator, sizeof(previous_mode)); gc->addSelection(separator, line_in); found_modes_in_xorg_log = TRUE; @@ -161,6 +161,7 @@ static HostComboBox *HostXres() defaults_added[def]=1; } } + pclose (modelines); } } |