on xenial help sign in
As per pstolowski's "yeah, 0 is a valid number ;)"
commita1af2b9f2abd49f726fd59900cbc5b36cc411129 authorMichał Sawicz <michal.sawicz@canonical.com> dateMon 24 Jun 2013, 17:46 (13 years ago) parent3518af5
1 file changed+1−1
Components/IconUtil.js+1−1
Components/IconUtil.js+1−1
@@ -33,7 +33,7 @@ function from_gicon(name) {
3333 return "image://gicon/" + themed[1];
3434 }
3535 }
36− var name_re = /^[a-z1-9\._-]+$/;
36+ var name_re = /^[a-z0-9\._-]+$/;
3737 if (name_re.test(icon_name)) {
3838 return "image://gicon/" + icon_name;
3939 } else {