diff options
author | Stefano Karapetsas <[email protected]> | 2012-09-28 17:48:06 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-09-28 17:48:06 +0300 |
commit | af012d9af49683a439c110d89a7c4ab0d21f8cca (patch) | |
tree | d15f2a45ecdda0610d4916154cdbf9ab2816067f | |
parent | 5e90f169ff97704906622a64c4cde6c15d4a78e0 (diff) | |
download | mate-desktop-af012d9af49683a439c110d89a7c4ab0d21f8cca.tar.bz2 mate-desktop-af012d9af49683a439c110d89a7c4ab0d21f8cca.tar.xz |
Update libmate-desktop/display-name.c
patch reported by NiceandGently
taken from fedora downstream gnome-desktop
-rw-r--r-- | libmate-desktop/display-name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/display-name.c b/libmate-desktop/display-name.c index cbd59d9..85971a7 100644 --- a/libmate-desktop/display-name.c +++ b/libmate-desktop/display-name.c @@ -209,7 +209,7 @@ static void read_pnp_ids(void) { line = lines[i]; - if (line[3] == '\t') + if (line[0] && line[1] && line[2] && line[3] == '\t' && line[4]) { code = line; line[3] = '\0'; |