[desktop-file-utils] another fixup

Matthias Clasen mclasen at fedoraproject.org
Fri Dec 23 20:36:04 UTC 2011


commit d6999b842a02a5fdf696ee09dc9c336e49e22ff2
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Fri Dec 23 15:35:50 2011 -0500

    another fixup

 localelist-fixup.patch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/localelist-fixup.patch b/localelist-fixup.patch
index 6b58426..d16ffb8 100644
--- a/localelist-fixup.patch
+++ b/localelist-fixup.patch
@@ -1,6 +1,6 @@
 diff -up desktop-file-utils-0.19/src/validate.c.localelist desktop-file-utils-0.19/src/validate.c
 --- desktop-file-utils-0.19/src/validate.c.localelist	2011-12-19 09:58:16.000000000 -0500
-+++ desktop-file-utils-0.19/src/validate.c	2011-12-23 15:18:09.769574922 -0500
++++ desktop-file-utils-0.19/src/validate.c	2011-12-23 15:33:00.667543077 -0500
 @@ -2722,12 +2722,41 @@ desktop_file_validate (const char *filen
    return (!kf.fatal_error);
  }
@@ -86,7 +86,7 @@ diff -up desktop-file-utils-0.19/src/validate.c.localelist desktop-file-utils-0.
 +      keys = g_key_file_get_keys (keyfile, GROUP_DESKTOP_ENTRY, &len, NULL);
 +      for (j = 0; j < len; j++) {
 +        if (g_str_has_prefix (keys[j], registered_desktop_keys[i].name) &&
-+            keys[j][keylen] == '[') {
++            keys[j][keylen] == '[' || keys[j][keylen] == '\0') {
 +          fixup_list (keyfile, filename, keys[j]);
 +        }
        }


More information about the scm-commits mailing list