summaryrefslogtreecommitdiff
path: root/src/utils/pnglib.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/utils/pnglib.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmanaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/utils/pnglib.cpp')
-rw-r--r--src/utils/pnglib.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/pnglib.cpp b/src/utils/pnglib.cpp
index 4393be3e2..6d591515d 100644
--- a/src/utils/pnglib.cpp
+++ b/src/utils/pnglib.cpp
@@ -47,7 +47,7 @@ bool PngLib::writePNG(SDL_Surface *const surface,
nullptr, nullptr, nullptr);
if (png_ptr == nullptr)
{
- reportAlways("Had trouble creating png_structp");
+ reportAlways("Had trouble creating png_structp")
return false;
}
@@ -55,14 +55,14 @@ bool PngLib::writePNG(SDL_Surface *const surface,
if (info_ptr == nullptr)
{
png_destroy_write_struct(&png_ptr, static_cast<png_infopp>(nullptr));
- reportAlways("Could not create png_info");
+ reportAlways("Could not create png_info")
return false;
}
if (setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_write_struct(&png_ptr, &info_ptr);
- reportAlways("problem writing to %s", filename.c_str());
+ reportAlways("problem writing to %s", filename.c_str())
return false;
}
@@ -70,7 +70,7 @@ bool PngLib::writePNG(SDL_Surface *const surface,
if (fp == nullptr)
{
reportAlways("could not open file %s for writing",
- filename.c_str());
+ filename.c_str())
return false;
}