diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-05 23:18:26 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-05 23:18:26 +0200 |
commit | 275959c64eaf91c088f426ea451ab14fab31c098 (patch) | |
tree | 032c00d4d4c45d17acdbdfedeaaa35f2a0a9e93c /bitmap.c | |
parent | da936332dc117580a0f6a04aa17525e1c31b77d9 (diff) | |
download | vdr-plugin-text2skin-275959c64eaf91c088f426ea451ab14fab31c098.tar.gz vdr-plugin-text2skin-275959c64eaf91c088f426ea451ab14fab31c098.tar.bz2 |
Use empty() instead of size() to check container emptiness.
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ bool cText2SkinBitmap::LoadNonXpm(const char *Filename, int height, int width, i int w, h; std::vector<Image>::iterator it; readImages(&images, Filename); - if (images.size() == 0) { + if (images.empty()) { esyslog("ERROR: text2skin: Couldn't load %s", Filename); return false; } |