summaryrefslogtreecommitdiff
path: root/src/gd_bmp.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-02-08 18:20:02 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-08 18:20:02 +0100
commit4a43ee1c30f9aadbb0a78c8aebce5d6a70a491cc (patch)
treed313333f684b6e8abe1eb3690ffc2829aa3ecaea /src/gd_bmp.c
parent845f1d38c5e2adfb0531d2b6dc95a8472f22baeb (diff)
downloadlibgd-4a43ee1c30f9aadbb0a78c8aebce5d6a70a491cc.tar.gz
Fix typo
Cf. php/php-src@2d48d734a20192a10792669baaa88dbe86f2b3a6.
Diffstat (limited to 'src/gd_bmp.c')
-rw-r--r--src/gd_bmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gd_bmp.c b/src/gd_bmp.c
index ccafdcd..f133c70 100644
--- a/src/gd_bmp.c
+++ b/src/gd_bmp.c
@@ -771,7 +771,7 @@ static int bmp_read_direct(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, b
return 1;
}
- /* There is a chance the data isn't until later, would be wierd but it is possible */
+ /* There is a chance the data isn't until later, would be weird but it is possible */
if (gdTell(infile) != header->off) {
/* Should make sure we don't seek past the file size */
if (!gdSeek(infile, header->off)) {
@@ -868,7 +868,7 @@ static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp
im->colorsTotal = info->numcolors;
- /* There is a chance the data isn't until later, would be wierd but it is possible */
+ /* There is a chance the data isn't until later, would be weird but it is possible */
if (gdTell(infile) != header->off) {
/* Should make sure we don't seek past the file size */
if (!gdSeek(infile, header->off)) {
@@ -938,7 +938,7 @@ static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp
im->colorsTotal = info->numcolors;
- /* There is a chance the data isn't until later, would be wierd but it is possible */
+ /* There is a chance the data isn't until later, would be weird but it is possible */
if (gdTell(infile) != header->off) {
/* Should make sure we don't seek past the file size */
if (!gdSeek(infile, header->off)) {
@@ -1025,7 +1025,7 @@ static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp
im->colorsTotal = info->numcolors;
- /* There is a chance the data isn't until later, would be wierd but it is possible */
+ /* There is a chance the data isn't until later, would be weird but it is possible */
if (gdTell(infile) != header->off) {
/* Should make sure we don't seek past the file size */
if (!gdSeek(infile, header->off)) {