diff options
author | nyamatongwe <devnull@localhost> | 2010-05-04 05:27:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-05-04 05:27:26 +0000 |
commit | a253fd18fde8ca3e012430f8bbef928a2d22b2a2 (patch) | |
tree | 5edb502dcc1a8e8f763d5fbb6d0b92545c718c38 /gtk/PlatGTK.cxx | |
parent | 3bea1c2deceda1550a1aef4892b6e65451e5c599 (diff) | |
download | scintilla-mirror-a253fd18fde8ca3e012430f8bbef928a2d22b2a2.tar.gz |
Fixed some warnings from clang --analyze.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 55947113e..b90b8c46e 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -347,7 +347,7 @@ static void GenerateFontSpecStrings(const char *fontName, int characterSet, d2 = strchr(d1 + 1, '-'); if (d2) d3 = strchr(d2 + 1, '-'); - if (d3) { + if (d3 && d2) { // foundary-fontface-isoxxx-x *d2 = '\0'; foundary[0] = '-'; |