| commit | a6ae55542fff5b24b22c384a08e00f578ee3a9d3 | [log] [tgz] |
|---|---|---|
| author | Marcus Meissner <marcus@jet.franken.de> | Tue Jun 13 01:06:22 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Jun 13 01:06:22 2000 +0000 |
| tree | 0209514e6c7b38b584f6deb9094ad02b29741e29 | |
| parent | 1f34ce594a2bd2bdb218009e3bada0579e7a1c9e [diff] [blame] |
Strip whitespace from front of profile values.
diff --git a/files/profile.c b/files/profile.c index 7644413..99d04f4 100644 --- a/files/profile.c +++ b/files/profile.c
@@ -790,6 +790,10 @@ if (!key) return FALSE; if (key->value) { + /* strip the leading spaces. We can safely strip \n\r and + * friends too, they should not happen here anyway. */ + while (PROFILE_isspace(*value)) value++; + if (!strcmp( key->value, value )) { TRACE(" no change needed\n" );