diff options
author | Joseph Herlant <herlantj@gmail.com> | 2018-09-09 19:30:58 -0700 |
---|---|---|
committer | Joseph Herlant <herlantj@gmail.com> | 2018-09-09 19:30:58 -0700 |
commit | 33d50b9e674dd84bd800979044fe2c60d14f72ed (patch) | |
tree | 72a9f98ebf2f54bdd4e63ed65f3ea0bdde3c418f | |
parent | 0de598f5f7f560b0df6c9bc213b6e10ae542f6dc (diff) | |
download | navit-33d50b9e674dd84bd800979044fe2c60d14f72ed.tar.gz |
cleanup:graphics:Make sure we use g_strcmp0 instead of strcmp
-rw-r--r-- | navit/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/graphics.c b/navit/graphics.c index 50913eeea..0f0915dae 100644 --- a/navit/graphics.c +++ b/navit/graphics.c @@ -729,7 +729,7 @@ static void image_new_helper(struct graphics *gra, struct graphics_image *this_, g_free(start); } } else { - if (strcmp(new_name,"buffer:")) + if (g_strcmp0(new_name,"buffer:")) this_->priv=gra->meth.image_new(gra->priv, &this_->meth, new_name, &this_->width, &this_->height, &this_->hot, rotate); } if (this_->priv) { |