diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-08-24 06:47:41 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-08-25 17:37:52 +0200 |
commit | b3dc0c13e88f3bd859c96144a9d4280c675665bc (patch) | |
tree | 9f437c19d4e70e65555e5b7d8a6cd19231e8f207 /qmake/generators | |
parent | 09bfc52dde56cd525cfad4437b26ab534f72a86c (diff) |
Fix assertion on passing nullptr QLatin1Strings to qt_compare_strings
qstrnicmp() has an assertion that the lhs string is not nullptr.
Fix by moving the length check back to the front, regardless of cs's
value.
Amends cad7100fda1b27ba56c4d9efc6bceba62859dfbc.
Change-Id: I31f808936c8dc6fbb10a70a59923746ef3e675e9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake/generators')
0 files changed, 0 insertions, 0 deletions