info: Also trim useless info when trailing ")" is missing
As seen in attachment 339587 https://bugzilla.gnome.org/show_bug.cgi?id=774240
This commit is contained in:
parent
1549857fc9
commit
69c17d8652
2 changed files with 3 additions and 1 deletions
|
@ -3,4 +3,6 @@ Intel(R) Ivybridge Mobile Intel<sup>®</sup> Ivybridge Mobile
|
|||
Intel(R) Ivybridge Mobile Intel<sup>®</sup> Ivybridge Mobile
|
||||
Gallium 0.4 on AMD KAVERI AMD<sup>®</sup> Kaveri
|
||||
AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD<sup>®</sup> Kaveri
|
||||
AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3 AMD<sup>®</sup> Kaveri
|
||||
Gallium 0.4 on AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3) AMD<sup>®</sup> Kaveri
|
||||
Gallium 0.4 on AMD KAVERI (DRM 2.48.0 / 4.9.0-0.rc4.git2.2.fc26.x86_64, LLVM3 AMD<sup>®</sup> Kaveri
|
||||
|
|
|
@ -40,7 +40,7 @@ prettify_info (const char *info)
|
|||
{ "Core[(]TM[)]", "Core<sup>\342\204\242</sup>"},
|
||||
{ "Atom[(]TM[)]", "Atom<sup>\342\204\242</sup>"},
|
||||
{ "Gallium .* on (AMD .*)", "\\1"},
|
||||
{ "(AMD .*) [(].*[)]", "\\1"},
|
||||
{ "(AMD .*) [(].*", "\\1"},
|
||||
{ "(AMD [A-Z])(.*)", "\\1\\L\\2\\E"},
|
||||
{ "AMD", "AMD<sup>\302\256</sup>"},
|
||||
{ "Graphics Controller", "Graphics"},
|
||||
|
|
Loading…
Add table
Reference in a new issue