summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md8
-rw-r--r--changelog.html5
-rw-r--r--include/benoit/d/ver.hh2
-rw-r--r--src/benoit/wrtimg.cc2
5 files changed, 8 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 3282c3f..db54b8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CXX=g++
CXXFLAGS=-Iinclude -D_ATFILE_SOURCE -D_FORTIFY_SOURCE=0x2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_ISOC99_SOURCE -D_ISOC11_SOURCE -D_ISOC2X_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D__STDC_WANT_IEC_60559_BFP_EXT__ -D__STDC_WANT_IEC_60559_FUNCS_EXT__ -D__STDC_WANT_IEC_60559_TYPES_EXT__ -D__STDC_WANT_LIB_EXT2__=0x1
-ifneq ($(debug),1)
+ifneq ($(debug),true)
CXXFLAGS += -DNDEBUG -g
endif
CXXFLAGS += -std=c++20 -Wall -Wextra -Wpedantic
diff --git a/README.md b/README.md
index 76a74e4..8f738fa 100644
--- a/README.md
+++ b/README.md
@@ -52,14 +52,6 @@ If not, see <https://www.gnu.org/licenses/>.
## Questions
-### How can I donate?
-
-Thanks for considering it. What can I say?
-
-Sadly, I currently do not have any way for you to donate unless.
-
-But again thanks for wanting to do so. Here, have some gløgg: 🍷
-
### Why 64b-only?
64b architectures use 32b to represent an `int`, while 32b architectures use 16b.
diff --git a/changelog.html b/changelog.html
index fc391f8..51d3b6c 100644
--- a/changelog.html
+++ b/changelog.html
@@ -4,12 +4,17 @@
<meta charset="utf-8">
</head>
<body>
+ <h1>8</h1>
+ <ul>
+ <li>Fix #2.</li>
+ </ul>
<h1>7</h1>
<ul>
<li>Fix #1.</li>
<li>Fix some language mistakes.</li>
<li>Add a <i>Copyright & License</i> page in <i>README.md</i>.</li>
<li>Create logo.</li>
+ <li>Update <i>README.md</i>.</li>
</ul>
<h1>6</h1>
<ul>
diff --git a/include/benoit/d/ver.hh b/include/benoit/d/ver.hh
index b262659..9eb8730 100644
--- a/include/benoit/d/ver.hh
+++ b/include/benoit/d/ver.hh
@@ -1,6 +1,6 @@
# pragma once
namespace benoit {
namespace d {
- unsigned long long constexpr ver = 0x7;
+ unsigned long long constexpr ver = 0x8;
}
}
diff --git a/src/benoit/wrtimg.cc b/src/benoit/wrtimg.cc
index 7e62b34..f0c12d0 100644
--- a/src/benoit/wrtimg.cc
+++ b/src/benoit/wrtimg.cc
@@ -28,7 +28,7 @@ void benoit::wrtimg(std::vector<std::uint8_t> * img) {
case benoit::t::imgfmt::png:
break;
case benoit::t::imgfmt::webp:
- datsiz = WebPEncodeLosslessRGB(img->data(),benoit::d::resx,benoit::d::resy,(benoit::d::resy * 0x3),&dat);
+ datsiz = WebPEncodeLosslessRGB(img->data(),benoit::d::resx,benoit::d::resy,(benoit::d::resx * 0x3),&dat);
break;
}
int file = ::open(benoit::d::outimg.c_str(),(O_CREAT | O_TRUNC | O_WRONLY),0x1B4);