diff options
| author | 2014-05-06 14:08:17 -0700 | |
|---|---|---|
| committer | 2014-05-06 14:15:59 -0700 | |
| commit | 0c836ebc47cab2f37274ae03ab2be6c7b2fd0456 (patch) | |
| tree | 2c55ca0c5aa1bb6e9dcb6cc8bb920cb28c75b5cd /qt-ui/preferences.cpp | |
| parent | 024420a60ddf7d18a6bd2ce4aad30344be0edbac (diff) | |
| download | subsurface-0c836ebc47cab2f37274ae03ab2be6c7b2fd0456.tar.gz | |
Simplify string comparison
This is based on Linus' idea on the mailing list.
Treat NULL strings and empty strings as identical.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
0 files changed, 0 insertions, 0 deletions