diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-02 11:23:28 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-12-30 02:44:05 +0100 |
commit | 1d97e1efe14a7a47511a57650426f45536dfc098 (patch) | |
tree | 57f2076060f5b07f7de1f15959e9744861825157 | |
parent | cac05eef51dd0b31b95ade9f0c4c7ed7d166b96d (diff) | |
download | katapult-1d97e1efe14a7a47511a57650426f45536dfc098.tar.gz katapult-1d97e1efe14a7a47511a57650426f45536dfc098.zip |
Fix 'format not a string literal' error.
(cherry picked from commit be6a4360dd74ff5961e04d00c4ece87af8c51823)
-rw-r--r-- | katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp index bdcc1c6..1ed595e 100644 --- a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp +++ b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp @@ -173,7 +173,7 @@ void DocumentCatalog::queryChanged() if(files.count() > 0) { newStatus |= S_HasResults; - if(files.count() > 1 || files.at(0)->className() == "Directory") + if(files.count() > 1 || ( strcmp(files.at(0)->className(), "Directory") == 0 ) ) newStatus |= S_Multiple; } else newStatus |= S_NoResults; |