diff options
author | Daniel Boles <dboles@src.gnome.org> | 2017-08-13 17:39:13 +0100 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2017-08-13 17:39:13 +0100 |
commit | 4a6f5136bab0316aca9c04bbac5256c230213b2f (patch) | |
tree | c0605f6d90d94f5c0566b0992ce15f504a9b4853 /gtk/emoji | |
parent | f998360600c9841acd0b200baa8c94ae72e8bd66 (diff) | |
download | gtk+-4a6f5136bab0316aca9c04bbac5256c230213b2f.tar.gz |
convert-emoji: Don’t pointlessly do rest of loop
skip can never become FALSE again, so break as soon as it becomes TRUE.
Diffstat (limited to 'gtk/emoji')
-rw-r--r-- | gtk/emoji/convert-emoji.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/emoji/convert-emoji.c b/gtk/emoji/convert-emoji.c index 989eefdf24..1e1f171260 100644 --- a/gtk/emoji/convert-emoji.c +++ b/gtk/emoji/convert-emoji.c @@ -133,7 +133,10 @@ main (int argc, char *argv[]) for (j = 0; blacklist[j]; j++) { if (strstr (name, blacklist[j]) != 0) - skip = TRUE; + { + skip = TRUE; + break; + } } if (skip) continue; |